WPF

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

    Show / Hide Table of Contents

    Class ScrollControlChildFrame

    Implements a child frame in a ScrollControl that can be placed at the top, bottom, left and right side of the control so that contents do scroll similiar to the Internet Explorer frames concept. Each frame remembers its placement.

    Adding and removing elements from the children collection does not trigger calls to InvalidateMeasure. This allows adding and removing elements on the fly. A derived control is responsible to call Measure and Arrange on child elements since this base class will not do this by itsself.

    Inheritance
    System.Object
    VisualContainer
    ScrollControlChildFrame
    VirtualizingCellsControlChildFrame
    Implements
    System.IDisposable
    Inherited Members
    VisualContainer.WantsMouseInputProperty
    VisualContainer.WantsKeyInputProperty
    VisualContainer.CellRenderBoundsProperty
    VisualContainer.GetWantsMouseInput(DependencyObject, UIElement)
    VisualContainer.SetWantsMouseInput(DependencyObject, Nullable<Boolean>)
    VisualContainer.SetWantsKeyInput(DependencyObject, Boolean)
    VisualContainer.GetWantsKeyInput(DependencyObject)
    VisualContainer.GetRenderBoundsInherited(DependencyObject)
    VisualContainer.GetRenderBounds(DependencyObject)
    VisualContainer.SetRenderBounds(DependencyObject, Rect)
    VisualContainer.GetParent(DependencyObject)
    VisualContainer.MeasureOverride(Size)
    VisualContainer.ArrangeOverride(Size)
    VisualContainer.OnRender(DrawingContext)
    VisualContainer.HitTestCore(GeometryHitTestParameters)
    VisualContainer.HitTestCore(PointHitTestParameters)
    VisualContainer.GetVisualChild(Int32)
    VisualContainer.Dispose()
    VisualContainer.Children
    VisualContainer.VisualChildrenCount
    Namespace: Syncfusion.Windows.Controls.Scroll
    Assembly: Syncfusion.GridCommon.Wpf.dll
    Syntax
    public class ScrollControlChildFrame : VisualContainer, IDisposable

    Constructors

    ScrollControlChildFrame()

    Declaration
    public ScrollControlChildFrame()

    Properties

    ColumnSection

    The column section with 0 being at the top side, 1 being the center, 2 being at the bottom and 3 spanning across multiple sections.

    Declaration
    public int ColumnSection { get; }
    Property Value
    Type Description
    System.Int32

    EnableChildFrameArrangement

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

    IsAtBottom

    Gets a value indicating whether this instance is at bottom.

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

    true if this instance is at bottom; otherwise, false.

    IsAtLeftSide

    Gets a value indicating whether this instance is at left side.

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

    true if this instance is at left side; otherwise, false.

    IsAtRightSide

    Gets a value indicating whether this instance is at right side.

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

    true if this instance is at right side; otherwise, false.

    IsAtTop

    Gets a value indicating whether this instance is at top.

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

    true if this instance is at top; otherwise, false.

    IsScrollFrame

    Gets a value indicating whether SetState(Boolean, Boolean, Boolean, Boolean) has been called.

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

    true if this SetState(Boolean, Boolean, Boolean, Boolean) was called; otherwise, false.

    RowSection

    The row section with 0 being at the left side, 1 being the center, 2 being at the right side and 3 spanning across multiple sections.

    Declaration
    public int RowSection { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    CompareState(Boolean, Boolean, Boolean, Boolean)

    Determines if this child frame that matches the given parameters.

    Declaration
    public bool CompareState(bool isAtLeftSide, bool isAtTop, bool isAtRightSide, bool isAtBottom)
    Parameters
    Type Name Description
    System.Boolean isAtLeftSide

    if set to true frame is at left side.

    System.Boolean isAtTop

    if set to true frame is at top.

    System.Boolean isAtRightSide

    if set to true is at right side.

    System.Boolean isAtBottom

    if set to true frame is at bottom.

    Returns
    Type Description
    System.Boolean

    true if state matches; fakse otherwise.

    SetState(Boolean, Boolean, Boolean, Boolean)

    Sets the state.

    Declaration
    public void SetState(bool isAtLeftSide, bool isAtTop, bool isAtRightSide, bool isAtBottom)
    Parameters
    Type Name Description
    System.Boolean isAtLeftSide

    if set to true frame is at left side.

    System.Boolean isAtTop

    if set to true frame is at top.

    System.Boolean isAtRightSide

    if set to true is at right side.

    System.Boolean isAtBottom

    if set to true frame is at bottom.

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved