Class GroupDropAreaItem
Represents a class that provides the common functionalities of Group droup area item content control.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.DataGrid
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class GroupDropAreaItem : ContentControl, IDisposable
Constructors
GroupDropAreaItem()
Initializes a new instance of GroupDropAreaItem class.
Declaration
public GroupDropAreaItem()
Fields
GridColumnProperty
Dependency registration for GridColumn.
Declaration
public static readonly DependencyProperty GridColumnProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
GroupNameProperty
Dependency registration for GroupName.
Declaration
public static readonly DependencyProperty GroupNameProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
SortDirectionProperty
Dependency registration for SortDirection.
Declaration
public static readonly DependencyProperty SortDirectionProperty
Field Value
| Type |
|---|
| Microsoft.UI.Xaml.DependencyProperty |
Properties
GridColumn
Gets or sets the GridColumn.
Declaration
public GridColumn GridColumn { get; set; }
Property Value
| Type |
|---|
| GridColumn |
GroupDropArea
Gets or sets the GroupDropArea.
Declaration
public GroupDropArea GroupDropArea { get; }
Property Value
| Type |
|---|
| GroupDropArea |
GroupName
Gets or sets a value for GroupName.
Declaration
public string GroupName { get; set; }
Property Value
| Type |
|---|
| System.String |
SortDirection
Gets or sets Path direction (Ascending/Descending).
Declaration
public object SortDirection { get; set; }
Property Value
| Type |
|---|
| System.Object |
Methods
Dispose()
Disposes all the resources used by the GroupDropAreaItem class.
Declaration
public void Dispose()
Dispose(Boolean)
Disposes all the resources used by the GroupDropAreaItem class.
Declaration
protected virtual void Dispose(bool isDisposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | isDisposing | Indicates whether the call is from Dispose method or from a finalizer. |
OnApplyTemplate()
Invoked to apply template.
Declaration
protected override void OnApplyTemplate()
OnCreateAutomationPeer()
Returns a class-specific AutomationPeer Implementations for the Microsoft UI Automation infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
| Type | Description |
|---|---|
| Microsoft.UI.Xaml.Automation.Peers.AutomationPeer | The class-specific AutomationPeer subclass. |
OnDoubleTapped(DoubleTappedRoutedEventArgs)
Called before the DoubleTapped event occurs.
Declaration
protected override void OnDoubleTapped(DoubleTappedRoutedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.UI.Xaml.Input.DoubleTappedRoutedEventArgs | e | The Microsoft.UI.Xaml.Input.DoubleTappedRoutedEventArgs contains the event data. |
OnHolding(HoldingRoutedEventArgs)
Called before the Holding event occurs.
Declaration
protected override void OnHolding(HoldingRoutedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.UI.Xaml.Input.HoldingRoutedEventArgs | e | The Microsoft.UI.Xaml.Input.HoldingRoutedEventArgs contains the event data. |
OnManipulationStarted(ManipulationStartedRoutedEventArgs)
Called before the ManipulationStarted event occurs.
Declaration
protected override void OnManipulationStarted(ManipulationStartedRoutedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.UI.Xaml.Input.ManipulationStartedRoutedEventArgs | e | The Microsoft.UI.Xaml.Input.ManipulationStartedRoutedEventArgs contains the event data. |
OnPointerEntered(PointerRoutedEventArgs)
Called before the PointerEntered event occurs.
Declaration
protected override void OnPointerEntered(PointerRoutedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.UI.Xaml.Input.PointerRoutedEventArgs | e | The Microsoft.UI.Xaml.Input.PointerRoutedEventArgs contains the event data. |
OnPointerExited(PointerRoutedEventArgs)
Called before the PointerExited event occurs.
Declaration
protected override void OnPointerExited(PointerRoutedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.UI.Xaml.Input.PointerRoutedEventArgs | e | The Microsoft.UI.Xaml.Input.PointerRoutedEventArgs contains the event data. |
OnPointerPressed(PointerRoutedEventArgs)
Called before the PointerPressed event occurs.
Declaration
protected override void OnPointerPressed(PointerRoutedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.UI.Xaml.Input.PointerRoutedEventArgs | e | The Microsoft.UI.Xaml.Input.PointerRoutedEventArgs contains the event data. |
OnRightTapped(RightTappedRoutedEventArgs)
When Right click the SfDataGrid Cell, Context menu appears for the selected cell. We are using this event for context menu support in Group drop area item cells.
Declaration
protected override void OnRightTapped(RightTappedRoutedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.UI.Xaml.Input.RightTappedRoutedEventArgs | e | Right tapped event arguments |
OnTapped(TappedRoutedEventArgs)
Called before the Tapped event occurs.
Declaration
protected override void OnTapped(TappedRoutedEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.UI.Xaml.Input.TappedRoutedEventArgs | e | The Microsoft.UI.Xaml.Input.TappedRoutedEventArgs Contains the event data. |
ShowContextFlyout(Point)
Opens the context flyout at the specified position.
Declaration
protected virtual bool ShowContextFlyout(Point position)
Parameters
| Type | Name | Description |
|---|---|---|
| Windows.Foundation.Point | position | The position to display context flyout. |
Returns
| Type | Description |
|---|---|
| System.Boolean | true If the context flyout opened;Otherwisefalse |