Class GroupDropArea
Represents a class that provides the common functionalities of group drop area control.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class GroupDropArea : Control, IDisposable
Constructors
GroupDropArea()
Initializes a new instance of GroupDropArea class.
Declaration
public GroupDropArea()
Fields
GroupDropAreaTextProperty
Dependency registration for GroupDropAreaTextProperty.
Declaration
public static readonly DependencyProperty GroupDropAreaTextProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
IsExpandedProperty
Dependency registration for IsExpandedProperty.
Declaration
public static readonly DependencyProperty IsExpandedProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
WatermarkTextVisibilityProperty
Dependency registration for WaterMarkTextVisibility.
Declaration
public static readonly DependencyProperty WatermarkTextVisibilityProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
GroupDropAreaText
Gets or sets the group drop area text.
Declaration
public string GroupDropAreaText { get; set; }
Property Value
Type | Description |
---|---|
System.String | The group drop area text. |
IsExpanded
Gets or sets a value indicating whether group drop area is expanded or not.
Declaration
public bool IsExpanded { get; set; }
Property Value
Type |
---|
System.Boolean |
WatermarkTextVisibility
Gets or sets the visibility for WaterMarkText.
Declaration
public Visibility WatermarkTextVisibility { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.Visibility |
Methods
Dispose()
Disposes all the resources used by the GroupDropArea class.
Declaration
public void Dispose()
Dispose(Boolean)
Disposes all the resources used by the GroupDropArea 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 for GroupDropArea.
Declaration
protected override void OnApplyTemplate()
OnHolding(HoldingRoutedEventArgs)
When long press on SfDataGrid Cell, Context menu appears for the selected cell. We are using this event for context menu support in Group Drop Area.
Declaration
protected override void OnHolding(HoldingRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.HoldingRoutedEventArgs | e | Holding event arguments |
OnRightTapped(RightTappedRoutedEventArgs)
When Right click SfDataGrid Cell, Context menu appears for the selected cell. We are using this event for context menu support in Group drop area cell.
Declaration
protected override void OnRightTapped(RightTappedRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.RightTappedRoutedEventArgs | e | Right tapped event arguments |
ShowContextMenu(Point)
Opens the context menu at the specified position.
Declaration
protected virtual bool ShowContextMenu(Point position)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Point | position | The position to display context menu. |
Returns
Type | Description |
---|---|
System.Boolean | true If the context menu opened;Otherwisefalse |