Class SpanExtensions
Provides extensions for Spans.
Namespace: Sartorius.SAF.Presentation
Assembly: Sartorius.SAF.Presentation.dll
Syntax
public static class SpanExtensions
Fields
View SourceInlinesProperty
Identifies the Sartorius.SAF.Presentation.InlineExtensions.Inlines attached property.
Declaration
public static readonly DependencyProperty InlinesProperty
Field Value
| Type | Description |
|---|---|
| DependencyProperty |
Methods
View SourceGetInlines(DependencyObject)
Gets the value of the Sartorius.SAF.Presentation.InlineExtensions.Inlines attached property from a given DependencyObject.
Declaration
[AttachedPropertyBrowsableForType(typeof(Span))]
public static InlineCollection GetInlines(DependencyObject element)
Parameters
| Type | Name | Description |
|---|---|---|
| DependencyObject | element | The element from which to read the property value. |
Returns
| Type | Description |
|---|---|
| InlineCollection | The value of the Sartorius.SAF.Presentation.InlineExtensions.Inlines attached property. |
SetInlines(DependencyObject, InlineCollection)
Sets the value of the Sartorius.SAF.Presentation.InlineExtensions.Inlines attached property to a given DependencyObject.
Declaration
[AttachedPropertyBrowsableForType(typeof(Span))]
public static void SetInlines(DependencyObject element, InlineCollection value)
Parameters
| Type | Name | Description |
|---|---|---|
| DependencyObject | element | The element on which to set the attached property. |
| InlineCollection | value | The property value to set. |