[]
        
(Showing Draft Content)

C1.WinUI.Grid.GridControlCellView

GridControlCellView Class

Contains properties that will be applied to cell view elements.

Inheritance
GridControlCellView
Implements
Namespace: C1.WinUI.Grid
Assembly: C1.WinUI.GridControl.dll
Syntax
public class GridControlCellView : C1Border, IDisposable

Constructors

Name Description
GridControlCellView()

Initializes a new instance of the GridControlCellView class.

Fields

Name Description
IsMouseOverProperty

Identifies the IsMouseOver dependency property.

MouseOverBrushProperty

Identifies the MouseOverBrush dependency property.

SelectedBrushProperty

Identifies the SelectedBrush dependency property.

SelectedTimesProperty

Identifies the SelectedTimes dependency property.

Properties

Name Description
IsMouseOver

Gets or sets the mouse over state.

IsSelected

Gets or sets whether the cell is selected.

MouseOverBrush

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint the color of mouse over cell / row.

Range

Gets the range associated with this cell.

ReadOnlyContent

Gets the element shown as content when it is not editing.

SelectedBrush

Gets or sets the Microsoft.UI.Xaml.Media.Brush that is used to paint the color of selected cell / row.

SelectedTimes

Gets or sets the number of times the cell is selected.

Methods

Name Description
ChangeVisualStateMouseOver(bool)

Updates the current visual state of the MouseOver visual state group to match the object's properties.

ChangeVisualStateSelection(bool)

Updates the current visual state of the Selection visual state group to match the object's properties.

Dispose(bool)
OnApplyTemplate()
OnBorderThicknessChanged()

Called when the border thickness changed.

OnPointerEntered(PointerRoutedEventArgs)
OnPointerExited(PointerRoutedEventArgs)