Class WpfFormattedText
Inheritance
System.Object
WpfFormattedText
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sdl.Desktop.Platform.Controls.Converters
Assembly: Sdl.Desktop.Platform.Controls.dll
Syntax
public static class WpfFormattedText
Fields
FormattedTextProperty
Declaration
public static readonly DependencyProperty FormattedTextProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
Methods
FormatText(String, WpfFormattedText.TextPart)
Declaration
public static void FormatText(string stringToFormat, WpfFormattedText.TextPart root)
Parameters
Type | Name | Description |
---|---|---|
System.String | stringToFormat | |
WpfFormattedText.TextPart | root |
GetFormattedText(DependencyObject)
Declaration
public static string GetFormattedText(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj |
Returns
Type | Description |
---|---|
System.String |
SetFormattedText(DependencyObject, String)
Declaration
public static void SetFormattedText(DependencyObject obj, string value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | |
System.String | value |