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
Implements
Inherited Members
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 |
---|
System.Int32 |
EnableChildFrameArrangement
Declaration
public bool EnableChildFrameArrangement { get; set; }
Property Value
Type |
---|
System.Boolean |
IsAtBottom
Gets a value indicating whether this instance is at bottom.
Declaration
public bool IsAtBottom { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsAtLeftSide
Gets a value indicating whether this instance is at left side.
Declaration
public bool IsAtLeftSide { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsAtRightSide
Gets a value indicating whether this instance is at right side.
Declaration
public bool IsAtRightSide { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsAtTop
Gets a value indicating whether this instance is at top.
Declaration
public bool IsAtTop { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
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 |
|
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 |
---|
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 |
System.Boolean | isAtTop | if set to |
System.Boolean | isAtRightSide | if set to |
System.Boolean | isAtBottom | if set to |
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 |
System.Boolean | isAtTop | if set to |
System.Boolean | isAtRightSide | if set to |
System.Boolean | isAtBottom | if set to |