WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeViewAdvItemsPanel

    Show / Hide Table of Contents

    Class TreeViewAdvItemsPanel

    Represents the class that the items panel of the TreeViewAdv.

    Inheritance
    System.Object
    FakeItemsPanel
    TreeViewAdvItemsPanel
    TreeViewAdvVirtualizingPanel
    Inherited Members
    FakeItemsPanel.c_scrollOffset
    FakeItemsPanel.AddFakeItems(Object)
    FakeItemsPanel.AddFakeItems(IList)
    FakeItemsPanel.RemoveFakeItems()
    FakeItemsPanel.GetIndexNoFakeItems(UIElement)
    FakeItemsPanel.MeasureOverride(Size)
    FakeItemsPanel.ArrangeOverride(Size)
    FakeItemsPanel.CleanItems()
    FakeItemsPanel.GetPanelSize()
    FakeItemsPanel.GetOccupyHeight()
    FakeItemsPanel.GetTopOffset()
    FakeItemsPanel.GetAvailableHeight(Size)
    FakeItemsPanel.GetAvailableWidth()
    FakeItemsPanel.GetMeasureItemSize(UIElement)
    FakeItemsPanel.GetArrangeItemSize(UIElement)
    FakeItemsPanel.OnFakeItemsChanged(UIElement)
    FakeItemsPanel.IsNeedCreateContainer(Object)
    FakeItemsPanel.ClearAllItems()
    FakeItemsPanel.SetCashedMeasureSize(Object, Size)
    FakeItemsPanel.GetCashedMeasureSize(Object)
    FakeItemsPanel.GetKey(Int32)
    FakeItemsPanel.Dispose()
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class TreeViewAdvItemsPanel : FakeItemsPanel

    Constructors

    TreeViewAdvItemsPanel()

    Initializes a new instance of the TreeViewAdvItemsPanel class.

    Declaration
    public TreeViewAdvItemsPanel()

    Fields

    InvalidateRenderRequestProperty

    Identifies TreeViewAdvItemsPanel. InvalidateRenderRequest dependency property.

    Declaration
    public static readonly DependencyProperty InvalidateRenderRequestProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    IsShowLineProperty

    Identifies TreeViewAdvItemsPanel. IsShowLine dependency property.

    Declaration
    public static readonly DependencyProperty IsShowLineProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    LinePenProperty

    Identifies TreeViewAdvItemsPanel. LinePen dependency property.

    Declaration
    public static readonly DependencyProperty LinePenProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    InvalidateRenderRequest

    Indicates whether the control need re-render.

    Declaration
    public bool InvalidateRenderRequest { get; set; }
    Property Value
    Type Description
    System.Boolean

    Type: System.Boolean For re-render control need change property.

    IsNeedUpdateIndex

    Indicates whethe need update index.

    Declaration
    protected virtual bool IsNeedUpdateIndex { get; }
    Property Value
    Type Description
    System.Boolean

    IsShowLine

    Gets or sets value indicating whether show line.

    Declaration
    public bool IsShowLine { get; set; }
    Property Value
    Type Description
    System.Boolean

    Type: Value indicating whether show line.

    Examples

    This example shows how to set IsShowLine property in XAML.

    See Also
    TreeViewAdv
    TreeViewItemAdv

    LinePen

    Gets or sets the Pen used to draw of the line.

    Declaration
    public Pen LinePen { get; set; }
    Property Value
    Type Description
    System.Windows.Media.Pen

    Type: System.Windows.Media.Pen The Pen used to to draw of the line.

    Examples

    This example shows how to set LinePen property in XAML.

    See Also
    TreeViewAdv
    TreeViewItemAdv
    System.Windows.Media.Pen

    NeedDrawVerticalLine

    Gets value whether indicates that need draw vertical line.

    Declaration
    protected virtual bool NeedDrawVerticalLine { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    GetComplateUnvisibleItemSize(Int32)

    Gets appreciate complete size for unvisible item.

    Declaration
    protected override Size GetComplateUnvisibleItemSize(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Windows.Size
    Overrides
    FakeItemsPanel.GetComplateUnvisibleItemSize(Int32)

    GetCompleteItemSize(Int32)

    Gets appreciate complete size for item.

    Declaration
    protected override Size GetCompleteItemSize(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Windows.Size
    Overrides
    FakeItemsPanel.GetCompleteItemSize(Int32)

    GetCompletePanelSize(Size)

    Gets appreciate complete size of the this panel.

    Declaration
    protected override Size GetCompletePanelSize(Size availableSize)
    Parameters
    Type Name Description
    System.Windows.Size availableSize
    Returns
    Type Description
    System.Windows.Size
    Overrides
    FakeItemsPanel.GetCompletePanelSize(Size)

    GetContainerForFakeElement(Object)

    Gets container for fake element.

    Declaration
    protected override UIElement GetContainerForFakeElement(object element)
    Parameters
    Type Name Description
    System.Object element
    Returns
    Type Description
    System.Windows.UIElement
    Overrides
    FakeItemsPanel.GetContainerForFakeElement(Object)

    GetCountItems(TreeViewItemAdv)

    Gets count of the all children node.

    Declaration
    protected virtual int GetCountItems(TreeViewItemAdv item)
    Parameters
    Type Name Description
    TreeViewItemAdv item
    Returns
    Type Description
    System.Int32

    GetFakeElementType()

    Gets type of the fake element.

    Declaration
    protected override Type GetFakeElementType()
    Returns
    Type Description
    System.Type
    Overrides
    FakeItemsPanel.GetFakeElementType()

    GetItem(Int32)

    Gets item from owner items control by index.

    Declaration
    protected override UIElement GetItem(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    System.Windows.UIElement
    Overrides
    FakeItemsPanel.GetItem(Int32)

    HideFakeItems()

    Hide fake items.

    Declaration
    public override void HideFakeItems()
    Overrides
    FakeItemsPanel.HideFakeItems()

    InvalidateRender()

    Invalidates the render for the element.

    Declaration
    protected void InvalidateRender()

    OnInitialized(EventArgs)

    Raises the Initialized event. This method is invoked whenever IsInitialized is set to true internally.

    Declaration
    protected override void OnInitialized(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    The RoutedEventArgs that contains the event data.

    Overrides
    FakeItemsPanel.OnInitialized(EventArgs)

    OnItemsChanged(Object, ItemsChangedEventArgs)

    Called when the System.Windows.Controls.ItemsControl.Items collection that is associated with the System.Windows.Controls.ItemsControl for this System.Windows.Controls.Panel changes.

    Declaration
    protected override void OnItemsChanged(object sender, ItemsChangedEventArgs args)
    Parameters
    Type Name Description
    System.Object sender

    The System.Object that raised the event.

    System.Windows.Controls.Primitives.ItemsChangedEventArgs args

    Provides data for the System.Windows.Controls.ItemContainerGenerator.ItemsChanged event.

    OnRender(DrawingContext)

    Draws the content of a System.Windows.Media.DrawingContext object during the render pass of a System.Windows.Controls.Panel element.

    Declaration
    protected override void OnRender(DrawingContext dc)
    Parameters
    Type Name Description
    System.Windows.Media.DrawingContext dc

    The System.Windows.Media.DrawingContext object to draw.

    ShowFakeItems(UIElement, Boolean)

    Shows fake items.

    Declaration
    public override void ShowFakeItems(UIElement element, bool bIsTop)
    Parameters
    Type Name Description
    System.Windows.UIElement element
    System.Boolean bIsTop

    Indicates whether fake items will show over element; otherwise fake items will show under element.

    Overrides
    FakeItemsPanel.ShowFakeItems(UIElement, Boolean)

    UpdateVisibilityIndex(Size)

    Update visible item index.

    Declaration
    protected override void UpdateVisibilityIndex(Size availableSize)
    Parameters
    Type Name Description
    System.Windows.Size availableSize
    Overrides
    FakeItemsPanel.UpdateVisibilityIndex(Size)
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved