Class SpanExtensions
Provides extensions for System.Windows.Documents.Spans.
Inheritance
System.Object
SpanExtensions
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: 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 |
---|---|
System.Windows.DependencyProperty |
Methods
View SourceGetInlines(DependencyObject)
Gets the value of the Sartorius.SAF.Presentation.InlineExtensions.Inlines attached property from a given System.Windows.DependencyObject.
Declaration
[AttachedPropertyBrowsableForType(typeof(Span))]
public static InlineCollection GetInlines(DependencyObject element)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | element | The element from which to read the property value. |
Returns
Type | Description |
---|---|
System.Windows.Documents.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 System.Windows.DependencyObject.
Declaration
[AttachedPropertyBrowsableForType(typeof(Span))]
public static void SetInlines(DependencyObject element, InlineCollection value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | element | The element on which to set the attached property. |
System.Windows.Documents.InlineCollection | value | The property value to set. |