Class TreeGridPanel
Inheritance
System.Object
TreeGridPanel
Implements
System.IDisposable
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class TreeGridPanel : Panel, IScrollableInfo, IDisposable
Constructors
TreeGridPanel()
Declaration
Fields
The hortizontal offset property
Declaration
public static readonly DependencyProperty HortizontalScrollBarOffsetProperty
Field Value
Type |
Description |
Windows.UI.Xaml.DependencyProperty |
|
The vertical offset property
Declaration
public static readonly DependencyProperty VerticalScrollBarOffsetProperty
Field Value
Type |
Description |
Windows.UI.Xaml.DependencyProperty |
|
Properties
Declaration
public bool CanHorizontallyScroll { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool CanVerticallyScroll { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
ColumnCount
Declaration
public int ColumnCount { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
ColumnWidths
Declaration
public IPaddedEditableLineSizeHost ColumnWidths { get; }
Property Value
ExtentHeight
Declaration
public double ExtentHeight { get; }
Property Value
Type |
Description |
System.Double |
|
ExtentWidth
Declaration
public double ExtentWidth { get; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public int FooterColumns { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public int FooterRows { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
FrozenColumns
Declaration
public int FrozenColumns { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
FrozenRows
Declaration
public int FrozenRows { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
HorizontalOffset
Declaration
public double HorizontalOffset { get; }
Property Value
Type |
Description |
System.Double |
|
HorizontalPadding
Declaration
public double HorizontalPadding { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public bool HorizontalPixelScroll { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Gets or sets the hortizontal offset.
Declaration
public double HortizontalScrollBarOffset { get; set; }
Property Value
Type |
Description |
System.Double |
The hortizontal offset.
|
Declaration
public ScrollInfo HScrollBar { get; }
Property Value
RowCount
Declaration
public int RowCount { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
RowGenerator
Declaration
public ITreeGridRowGenerator RowGenerator { get; }
Property Value
RowHeights
Declaration
public IPaddedEditableLineSizeHost RowHeights { get; }
Property Value
Declaration
public ScrollableContentViewer ScrollableOwner { get; set; }
Property Value
Declaration
public ScrollAxisBase ScrollColumns { get; }
Property Value
Declaration
public ScrollViewer ScrollOwner { get; set; }
Property Value
Type |
Description |
Windows.UI.Xaml.Controls.ScrollViewer |
|
Declaration
public ScrollAxisBase ScrollRows { get; }
Property Value
VerticalOffset
Declaration
public double VerticalOffset { get; }
Property Value
Type |
Description |
System.Double |
|
VerticalPadding
Declaration
public double VerticalPadding { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public bool VerticalPixelScroll { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Gets or sets the vertical offset.
Declaration
public double VerticalScrollBarOffset { get; set; }
Property Value
Type |
Description |
System.Double |
The vertical offset.
|
ViewportHeight
Declaration
public double ViewportHeight { get; }
Property Value
Type |
Description |
System.Double |
|
ViewportWidth
Declaration
public double ViewportWidth { get; }
Property Value
Type |
Description |
System.Double |
|
Declaration
public ScrollInfo VScrollBar { get; }
Property Value
Methods
ArrangeOverride(Size)
Declaration
protected override Size ArrangeOverride(Size finalSize)
Parameters
Type |
Name |
Description |
Windows.Foundation.Size |
finalSize |
|
Returns
Type |
Description |
Windows.Foundation.Size |
|
Declaration
protected virtual ScrollAxisBase CreateScrollAxis(Orientation orientation, bool pixelScroll, IScrollBar scrollBar, ILineSizeHost lineSizes)
Parameters
Type |
Name |
Description |
Windows.UI.Xaml.Controls.Orientation |
orientation |
|
System.Boolean |
pixelScroll |
|
IScrollBar |
scrollBar |
|
ILineSizeHost |
lineSizes |
|
Returns
Dispose()
Declaration
Dispose(Boolean)
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.
|
InsertColumns(Int32, Int32)
Declaration
public void InsertColumns(int insertAtColumnIndex, int count)
Parameters
Type |
Name |
Description |
System.Int32 |
insertAtColumnIndex |
|
System.Int32 |
count |
|
InsertRows(Int32, Int32)
Declaration
public void InsertRows(int insertAtRowIndex, int count)
Parameters
Type |
Name |
Description |
System.Int32 |
insertAtRowIndex |
|
System.Int32 |
count |
|
InvalidateMeasureInfo()
Declaration
public void InvalidateMeasureInfo()
LineDown()
Declaration
LineLeft()
Declaration
LineRight()
Declaration
LineUp()
Declaration
MakeVisible(UIElement, Rect)
Declaration
public Rect MakeVisible(UIElement visual, Rect rectangle)
Parameters
Type |
Name |
Description |
Windows.UI.Xaml.UIElement |
visual |
|
Windows.Foundation.Rect |
rectangle |
|
Returns
Type |
Description |
Windows.Foundation.Rect |
|
MeasureOverride(Size)
Declaration
protected override Size MeasureOverride(Size constraint)
Parameters
Type |
Name |
Description |
Windows.Foundation.Size |
constraint |
|
Returns
Type |
Description |
Windows.Foundation.Size |
|
MouseWheelDown()
Declaration
public void MouseWheelDown()
MouseWheelLeft()
Declaration
public void MouseWheelLeft()
MouseWheelRight()
Declaration
public void MouseWheelRight()
MouseWheelUp()
Declaration
public void MouseWheelUp()
Declaration
protected virtual void OnContainerKeyDown(object sender, KeyRoutedEventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
Windows.UI.Xaml.Input.KeyRoutedEventArgs |
e |
|
OnCreateColumnWidths()
Declaration
protected virtual IPaddedEditableLineSizeHost OnCreateColumnWidths()
Returns
OnCreateRowHeights()
Declaration
protected virtual IPaddedEditableLineSizeHost OnCreateRowHeights()
Returns
PageDown()
Declaration
PageLeft()
Declaration
Declaration
PageUp()
Declaration
PointToCellRowColumnIndex(Point, Boolean)
Determines the cell under the mouse location.
Declaration
public RowColumnIndex PointToCellRowColumnIndex(Point p, bool allowOutSideLines = false)
Parameters
Type |
Name |
Description |
Windows.Foundation.Point |
p |
The point in client coordinates.
|
System.Boolean |
allowOutSideLines |
|
Returns
Type |
Description |
RowColumnIndex |
The cells row and column index under the mouse location.
|
Declaration
public Rect RangeToRect(ScrollAxisRegion rowRegion, ScrollAxisRegion columnRegion, RowColumnIndex rowcolumn, bool allowEstimatesForOutOfViewRows, bool allowEstimatesForOutOfViewColumns)
Parameters
Type |
Name |
Description |
ScrollAxisRegion |
rowRegion |
Scroll axis region for row.
|
ScrollAxisRegion |
columnRegion |
Scroll axis region for column.
|
RowColumnIndex |
rowcolumn |
|
System.Boolean |
allowEstimatesForOutOfViewRows |
If set to true, allows estimate for out of view rows.
|
System.Boolean |
allowEstimatesForOutOfViewColumns |
If set to true, allows estimate for out of view columns.
|
Returns
Type |
Description |
Windows.Foundation.Rect |
Visible rectangle for the given range.
|
RemoveColumns(Int32, Int32)
Declaration
public void RemoveColumns(int removeAtColumnIndex, int count)
Parameters
Type |
Name |
Description |
System.Int32 |
removeAtColumnIndex |
|
System.Int32 |
count |
|
RemoveRows(Int32, Int32)
Declaration
public void RemoveRows(int removeAtRowIndex, int count)
Parameters
Type |
Name |
Description |
System.Int32 |
removeAtRowIndex |
|
System.Int32 |
count |
|
SetHorizontalOffset(Double)
Declaration
public void SetHorizontalOffset(double offset)
Parameters
Type |
Name |
Description |
System.Double |
offset |
|
SetVerticalOffset(Double)
Declaration
public void SetVerticalOffset(double offset)
Parameters
Type |
Name |
Description |
System.Double |
offset |
|
UpdateAxis(Size)
Declaration
public void UpdateAxis(Size availableSize)
Parameters
Type |
Name |
Description |
Windows.Foundation.Size |
availableSize |
|
Implements
System.IDisposable
Extension Methods