Class Section
A block-level element used for grouping other Block elements.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Documents
Assembly: OpenSilver.dll
Syntax
public sealed class Section : Block, IUIElement, IDependencyObject
Constructors
| Improve this Doc View SourceSection()
Declaration
public Section()
Properties
| Improve this Doc View SourceBlocks
Gets a BlockCollection containing the top-level Block elements that comprise the contents of the Section. This property has no default value.
Declaration
public BlockCollection Blocks { get; }
Property Value
Type | Description |
---|---|
BlockCollection |
HasTrailingParagraphBreakOnPaste
Gets or sets a value that indicates whether a trailing paragraph break should be inserted after the last paragraph when copying the contents of a root Section element to the clipboard.
Declaration
[NotImplemented]
public bool HasTrailingParagraphBreakOnPaste { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if a trailing paragraph break should be included; otherwise false. |
VisualChildrenCount
Declaration
protected sealed override int VisualChildrenCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
Methods
| Improve this Doc View SourceGetVisualChild(Int32)
Declaration
protected sealed override UIElement GetVisualChild(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Returns
Type | Description |
---|---|
UIElement |
Overrides
| Improve this Doc View SourceINTERNAL_OnAttachedToVisualTree()
Declaration
protected override void INTERNAL_OnAttachedToVisualTree()