Class DataGridCellsPresenter
Data Grid Cells Presenter - this control contains collection of cells
Inherited Members
Namespace: EmptyKeys.UserInterface.Controls.Primitives
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class DataGridCellsPresenter : ItemsControl
Constructors
DataGridCellsPresenter()
Initializes a new instance of the DataGridCellsPresenter class.
Declaration
public DataGridCellsPresenter()
Methods
GetContainerForItemOverride(Object)
Gets the container for item
Declaration
protected override UIElement GetContainerForItemOverride(object item)
Parameters
Type | Name | Description |
---|---|---|
System.Object | item | The item. |
Returns
Type | Description |
---|---|
UIElement |
Overrides
IsItemItsOwnContainerOverride(Object)
Determines whether [if is item its own container].
Declaration
protected override bool IsItemItsOwnContainerOverride(object item)
Parameters
Type | Name | Description |
---|---|---|
System.Object | item | The item. |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
MeasureOverride(Size)
Measure layout pass
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
EmptyKeys.UserInterface.Size | availableSize | available size for element |
Returns
Type | Description |
---|---|
EmptyKeys.UserInterface.Size |
Overrides
SetContainer(UIElement, UIElement)
Sets the container.
Declaration
protected override void SetContainer(UIElement itemContainer, UIElement contentVisual)
Parameters
Type | Name | Description |
---|---|---|
UIElement | itemContainer | The item container. |
UIElement | contentVisual | The content visual. |