Class Span
Groups other Inline content elements.
Inheritance
System.Object
Span
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 class Span : Inline, IUIElement, IDependencyObject
Constructors
| Improve this Doc View SourceSpan()
Initializes a new instance of the Span class.
Declaration
public Span()
Properties
| Improve this Doc View SourceInlines
Gets an InlineCollection containing the top-level inline elements that include the contents of Span.
Declaration
public InlineCollection Inlines { get; }
Property Value
Type | Description |
---|---|
InlineCollection | An InlineCollection containing the inline elements that include the contents of the Span. This property has no default value. |
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()