Show / Hide Table of Contents

Class Section

A block-level element used for grouping other Block elements.

Inheritance
System.Object
DependencyObject
UIElement
TextElement
Block
Section
Inherited Members
Block.LineHeightProperty
Block.LineHeight
Block.GetLineHeight(DependencyObject)
Block.SetLineHeight(DependencyObject, Double)
Block.LineStackingStrategyProperty
Block.LineStackingStrategy
Block.GetLineStackingStrategy(DependencyObject)
Block.SetLineStackingStrategy(DependencyObject, LineStackingStrategy)
Block.TextAlignmentProperty
Block.TextAlignment
Block.GetTextAlignment(DependencyObject)
Block.SetTextAlignment(DependencyObject, TextAlignment)
TextElement.CharacterSpacingProperty
TextElement.CharacterSpacing
TextElement.GetCharacterSpacing(DependencyObject)
TextElement.SetCharacterSpacing(DependencyObject, Int32)
TextElement.FontFamilyProperty
TextElement.FontFamily
TextElement.GetFontFamily(DependencyObject)
TextElement.SetFontFamily(DependencyObject, FontFamily)
TextElement.FontSizeProperty
TextElement.FontSize
TextElement.GetFontSize(DependencyObject)
TextElement.SetFontSize(DependencyObject, Double)
TextElement.FontStretchProperty
TextElement.FontStretch
TextElement.GetFontStretch(DependencyObject)
TextElement.SetFontStretch(DependencyObject, FontStretch)
TextElement.FontStyleProperty
TextElement.FontStyle
TextElement.GetFontStyle(DependencyObject)
TextElement.SetFontStyle(DependencyObject, FontStyle)
TextElement.FontWeightProperty
TextElement.FontWeight
TextElement.GetFontWeight(DependencyObject)
TextElement.SetFontWeight(DependencyObject, FontWeight)
TextElement.ForegroundProperty
TextElement.Foreground
TextElement.GetForeground(DependencyObject)
TextElement.SetForeground(DependencyObject, Brush)
TextElement.LanguageProperty
TextElement.Language
TextElement.Name
TextElement.FindName(String)
TextElement.ContentEnd
TextElement.ContentStart
TextElement.ElementEnd
TextElement.ElementStart
TextElement.OnPropertyChanged(DependencyPropertyChangedEventArgs)
TextElement.OnVisualParentChanged(DependencyObject)
TextElement.CreateDomElement(Object, Object)
UIElement.TransformToVisual(UIElement)
UIElement.OnCreateAutomationPeer()
UIElement.RenderSize
UIElement.DesiredSize
UIElement.InvalidateMeasure()
UIElement.InvalidateArrange()
UIElement.Measure(Size)
UIElement.Arrange(Rect)
UIElement.UpdateLayout()
UIElement.DragEnter
UIElement.DragLeave
UIElement.Drop
UIElement.DragOver
UIElement.CacheMode
UIElement.CacheModeProperty
UIElement.Projection
UIElement.ProjectionProperty
UIElement.VisualParent
UIElement.AddVisualChild(UIElement)
UIElement.RemoveVisualChild(UIElement)
UIElement.OnVisualChildrenChanged(DependencyObject, DependencyObject)
UIElement.XamlSourcePath
UIElement.ClipToBounds
UIElement.ClipToBoundsProperty
UIElement.ClipProperty
UIElement.Clip
UIElement.IsEnabledProperty
UIElement.IsEnabled
UIElement.IsEnabledChanged
UIElement.ManageIsEnabled(Boolean)
UIElement.EffectProperty
UIElement.Effect
UIElement.RenderTransformProperty
UIElement.RenderTransform
UIElement.RenderTransformOriginProperty
UIElement.RenderTransformOrigin
UIElement.UseLayoutRounding
UIElement.UseLayoutRoundingProperty
UIElement.Visibility
UIElement.VisibilityProperty
UIElement.IsVisibleProperty
UIElement.IsVisible
UIElement.IsVisibleChanged
UIElement.OpacityProperty
UIElement.Opacity
UIElement.OpacityMaskProperty
UIElement.OpacityMask
UIElement.IsHitTestVisible
UIElement.IsHitTestVisibleProperty
UIElement.AllowDrop
UIElement.AllowDropProperty
UIElement.CaptureMouse()
UIElement.IsMouseCaptured
UIElement.ReleaseMouseCapture()
UIElement.AllowScrollOnTouchMove
UIElement.AllowScrollOnTouchMoveProperty
UIElement.AddHandler(RoutedEvent, Delegate, Boolean)
UIElement.RemoveHandler(RoutedEvent, Delegate)
UIElement.MouseMoveEvent
UIElement.MouseMove
UIElement.OnMouseMove(MouseEventArgs)
UIElement.MouseLeftButtonDownEvent
UIElement.MouseLeftButtonDown
UIElement.OnMouseLeftButtonDown(MouseButtonEventArgs)
UIElement.MouseRightButtonDownEvent
UIElement.MouseRightButtonDown
UIElement.OnMouseRightButtonDown(MouseButtonEventArgs)
UIElement.MouseWheelEvent
UIElement.MouseWheel
UIElement.OnMouseWheel(MouseWheelEventArgs)
UIElement.MouseLeftButtonUpEvent
UIElement.MouseLeftButtonUp
UIElement.OnMouseLeftButtonUp(MouseButtonEventArgs)
UIElement.MouseEnterEvent
UIElement.MouseEnter
UIElement.OnMouseEnter(MouseEventArgs)
UIElement.MouseLeaveEvent
UIElement.MouseLeave
UIElement.OnMouseLeave(MouseEventArgs)
UIElement.TextInputStartEvent
UIElement.TextInputStart
UIElement.OnTextInputStart(TextCompositionEventArgs)
UIElement.TextInputEvent
UIElement.TextInput
UIElement.OnTextInput(TextCompositionEventArgs)
UIElement.TextInputUpdateEvent
UIElement.TextInputUpdate
UIElement.TappedEvent
UIElement.Tapped
UIElement.OnTapped(TappedRoutedEventArgs)
UIElement.MouseRightButtonUpEvent
UIElement.MouseRightButtonUp
UIElement.OnMouseRightButtonUp(MouseButtonEventArgs)
UIElement.KeyDownEvent
UIElement.KeyDown
UIElement.OnKeyDown(KeyEventArgs)
UIElement.KeyUpEvent
UIElement.KeyUp
UIElement.OnKeyUp(KeyEventArgs)
UIElement.GotFocusEvent
UIElement.GotFocus
UIElement.OnGotFocus(RoutedEventArgs)
UIElement.LostFocusEvent
UIElement.LostFocus
UIElement.OnLostFocus(RoutedEventArgs)
UIElement.LostMouseCapture
UIElement.OnLostMouseCapture(MouseEventArgs)
UIElement.INTERNAL_AttachToDomEvents()
UIElement.INTERNAL_DetachFromDomEvents()
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.INTERNAL_OnDetachedFromVisualTree()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
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 Source

Section()

Declaration
public Section()

Properties

| Improve this Doc View Source

Blocks

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
| Improve this Doc View Source

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.

| Improve this Doc View Source

VisualChildrenCount

Declaration
protected sealed override int VisualChildrenCount { get; }
Property Value
Type Description
System.Int32
Overrides
UIElement.VisualChildrenCount

Methods

| Improve this Doc View Source

GetVisualChild(Int32)

Declaration
protected sealed override UIElement GetVisualChild(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
UIElement
Overrides
UIElement.GetVisualChild(Int32)
| Improve this Doc View Source

INTERNAL_OnAttachedToVisualTree()

Declaration
protected override void INTERNAL_OnAttachedToVisualTree()
Overrides
DependencyObject.INTERNAL_OnAttachedToVisualTree()

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
UIElementExtendedRoutedEventExtensions.AddHandler(UIElement, ExtendedRoutedEvent, Delegate, Boolean)
UIElementExtendedRoutedEventExtensions.RemoveHandler(UIElement, ExtendedRoutedEvent, Delegate)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
  • Improve this Doc
  • View Source