Class TreeGridExpander
Represents a class that maintains the common functionalities of expander in SfTreeGrid.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.TreeGrid
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class TreeGridExpander : Control, IDisposable
Constructors
TreeGridExpander()
Initializes a new instance of TreeGridExpander class.
Declaration
public TreeGridExpander()
Fields
IsExpandedProperty
Dependency registration for IsExpanded.
Declaration
public static readonly DependencyProperty IsExpandedProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
IsExpanded
Gets or sets a value indicating whether the Expander is expanded or not.
Declaration
public bool IsExpanded { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
Dispose()
Disposes all the resources used by the TreeGridExpander class.
Declaration
public void Dispose()
Dispose(Boolean)
Disposes all the resources used by the TreeGridExpander class.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Indicates whether the call is from Dispose method or from a finalizer. |
MeasureOverride(Size)
Provides the behaviour for the "Measure" pass of the layout cycle.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
Windows.Foundation.Size | availableSize | The available size that this object can give to child objects.Infinity can be specified as a value to indicate that the object will to size whatever the content is available. |
Returns
Type | Description |
---|---|
Windows.Foundation.Size | The Size that this object determines it needs during layout,based on its calculations of the allocated sizes for child objects or based on other considerations such as a fixed container size. |
OnApplyTemplate()
Invoked to apply template for TreeGridExpander.
Declaration
protected override void OnApplyTemplate()
OnDoubleTapped(DoubleTappedRoutedEventArgs)
Called before the DoubleTapped Event occurs.
Declaration
protected override void OnDoubleTapped(DoubleTappedRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.DoubleTappedRoutedEventArgs | e | The Windows.UI.Xaml.Input.DoubleTappedRoutedEventArgs instance containing the event data. |
OnPointerPressed(PointerRoutedEventArgs)
Declaration
protected override void OnPointerPressed(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.PointerRoutedEventArgs | e |
OnTapped(TappedRoutedEventArgs)
Called before the Tapped event occurs.
Declaration
protected override void OnTapped(TappedRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.Input.TappedRoutedEventArgs | e | The Windows.UI.Xaml.Input.TappedRoutedEventArgs instance containing the event data. |