Class
ColumnHeaderFlyoutCommand

Represents a command that executes when the Header is Tapped.

Definition

Namespace:Telerik.UI.Xaml.Controls.Grid.Commands

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class ColumnHeaderFlyoutCommand : ICommand

Inheritance: objectColumnHeaderFlyoutCommand

Implements: ICommand

Constructors

ColumnHeaderFlyoutCommand(DataGridColumnHeader)

Initializes a new instance of the ColumnHeaderFlyoutCommand class.

Declaration

cs-api-definition
public ColumnHeaderFlyoutCommand(DataGridColumnHeader owner)

Parameters

owner

DataGridColumnHeader

Properties

ColumnHeader

Gets or sets the Tapped Header of the DataGrid.

Declaration

cs-api-definition
public DataGridColumnHeader ColumnHeader { get; set; }

Property Value

DataGridColumnHeader

IsGrouped

Gets or sets a value indicating whether the grouping of the Column.

Declaration

cs-api-definition
public bool IsGrouped { get; set; }

Property Value

bool

Methods

CanExecute(object)

Defines the method that determines whether the command can execute in its current state.

Declaration

cs-api-definition
public bool CanExecute(object parameter)

Parameters

parameter

object

The parameter used by the command.

Returns

bool

Returns a value indicating whether this command can be executed.

Implements ICommand.CanExecute(object)

Execute(object)

Defines the method to be called when the command is invoked.

Declaration

cs-api-definition
public void Execute(object parameter)

Parameters

parameter

object

The parameter used by the command.

Implements ICommand.Execute(object)

Events

CanExecuteChanged

Occurs when changes occur that affect whether or not the command should execute.

Declaration

cs-api-definition
public event EventHandler CanExecuteChanged

Event Value

EventHandler

Implements ICommand.CanExecuteChanged