Class GridActivateCurrentCellOptions
Provides a way to activate the various options for current cell.
Inheritance
System.Object
GridActivateCurrentCellOptions
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridActivateCurrentCellOptions : Object
Constructors
GridActivateCurrentCellOptions()
Default constructor.
Declaration
public GridActivateCurrentCellOptions()
GridActivateCurrentCellOptions(GridSetCurrentCellOptions)
Constructor.
Declaration
public GridActivateCurrentCellOptions(GridSetCurrentCellOptions setCurrentCellOptions)
Parameters
Type | Name | Description |
---|---|---|
GridSetCurrentCellOptions | setCurrentCellOptions | A reference to GridSetCurrentCellOptions class that defines the options for GridCurrentCell.MoveTo method. |
Fields
Empty
Declaration
public static readonly GridActivateCurrentCellOptions Empty
Field Value
Type |
---|
GridActivateCurrentCellOptions |
Properties
DiscardChanges
Gets or sets a value that indicates whether the current cell changes should be discarded.
Declaration
public bool DiscardChanges { get; set; }
Property Value
Type |
---|
System.Boolean |
Element
Gets or sets the UI element for current cell.
Declaration
public UIElement Element { get; set; }
Property Value
Type |
---|
System.Windows.UIElement |
IsActivateTriggeredByGotFocus
Specifies whether the current cell is activated by getting the focus.
Declaration
public bool IsActivateTriggeredByGotFocus { get; set; }
Property Value
Type |
---|
System.Boolean |
IsActivateTriggeredByMouseDownIntoUIElement
Specifies whether the current cell is activated by a MouseDown operation.
Declaration
public bool IsActivateTriggeredByMouseDownIntoUIElement { get; set; }
Property Value
Type |
---|
System.Boolean |
IsEmpty
Gets or sets a value that indicates whether the current cell is empty or not.
Declaration
public bool IsEmpty { get; set; }
Property Value
Type |
---|
System.Boolean |
SetCurrentCellOptions
Defines the options for GridCurrentCell.MoveTo method.
Declaration
public GridSetCurrentCellOptions SetCurrentCellOptions { get; set; }
Property Value
Type |
---|
GridSetCurrentCellOptions |
ShouldBeginEdit
Specifies whether the current cell should be switched to editing mode when activated.
Declaration
public bool ShouldBeginEdit { get; set; }
Property Value
Type |
---|
System.Boolean |