Class FormattedString
- Namespace
- CarinaStudio
- Assembly
- CarinaStudio.AppBase.Avalonia.dll
Object to generate formatted string.
public class FormattedString : AvaloniaObject, INotifyPropertyChanged, IObservable<string>
- Inheritance
-
AvaloniaObjectFormattedString
- Implements
- Inherited Members
-
AvaloniaObject.CheckAccess()AvaloniaObject.VerifyAccess()AvaloniaObject.ClearValue(AvaloniaProperty)AvaloniaObject.ClearValue<T>(AvaloniaProperty<T>)AvaloniaObject.ClearValue<T>(StyledProperty<T>)AvaloniaObject.ClearValue<T>(DirectPropertyBase<T>)AvaloniaObject.GetHashCode()AvaloniaObject.GetValue(AvaloniaProperty)AvaloniaObject.GetValue<T>(StyledProperty<T>)AvaloniaObject.GetValue<T>(DirectPropertyBase<T>)AvaloniaObject.GetBaseValue<T>(StyledProperty<T>)AvaloniaObject.IsAnimating(AvaloniaProperty)AvaloniaObject.IsSet(AvaloniaProperty)AvaloniaObject.SetValue<T>(StyledProperty<T>, T, BindingPriority)AvaloniaObject.SetValue<T>(DirectPropertyBase<T>, T)AvaloniaObject.SetCurrentValue<T>(StyledProperty<T>, T)AvaloniaObject.CoerceValue(AvaloniaProperty)AvaloniaObject.OnPropertyChangedCore(AvaloniaPropertyChangedEventArgs)AvaloniaObject.OnPropertyChanged(AvaloniaPropertyChangedEventArgs)AvaloniaObject.RaisePropertyChanged<T>(DirectPropertyBase<T>, T, T)AvaloniaObject.SetAndRaise<T>(DirectPropertyBase<T>, ref T, T)AvaloniaObject.InheritanceParentAvaloniaObject.this[AvaloniaProperty]AvaloniaObject.this[IndexerDescriptor]AvaloniaObject.PropertyChanged
- Extension Methods
Constructors
FormattedString()
Initialize new FormattedString instance.
public FormattedString()
Fields
Arg1Property
Property of Arg1.
public static readonly StyledProperty<object?> Arg1Property
Field Value
- StyledProperty<object>
Arg2Property
Property of Arg2.
public static readonly StyledProperty<object?> Arg2Property
Field Value
- StyledProperty<object>
Arg3Property
Property of Arg3.
public static readonly StyledProperty<object?> Arg3Property
Field Value
- StyledProperty<object>
Arg4Property
Property of Arg4.
public static readonly StyledProperty<object?> Arg4Property
Field Value
- StyledProperty<object>
Arg5Property
Property of Arg5.
public static readonly StyledProperty<object?> Arg5Property
Field Value
- StyledProperty<object>
Arg6Property
Property of Arg6.
public static readonly StyledProperty<object?> Arg6Property
Field Value
- StyledProperty<object>
Arg7Property
Property of Arg7.
public static readonly StyledProperty<object?> Arg7Property
Field Value
- StyledProperty<object>
Arg8Property
Property of Arg8.
public static readonly StyledProperty<object?> Arg8Property
Field Value
- StyledProperty<object>
Arg9Property
Property of Arg9.
public static readonly StyledProperty<object?> Arg9Property
Field Value
- StyledProperty<object>
FormatProperty
Property of Format.
public static readonly StyledProperty<string?> FormatProperty
Field Value
- StyledProperty<string>
StringProperty
Property of String.
public static readonly DirectProperty<FormattedString, string> StringProperty
Field Value
- DirectProperty<FormattedString, string>
Properties
Arg1
Get or set 1st argument to generate formatted string.
public object? Arg1 { get; set; }
Property Value
Arg2
Get or set 2nd argument to generate formatted string.
public object? Arg2 { get; set; }
Property Value
Arg3
Get or set 3rd argument to generate formatted string.
public object? Arg3 { get; set; }
Property Value
Arg4
Get or set 4th argument to generate formatted string.
public object? Arg4 { get; set; }
Property Value
Arg5
Get or set 5th argument to generate formatted string.
public object? Arg5 { get; set; }
Property Value
Arg6
Get or set 6th argument to generate formatted string.
public object? Arg6 { get; set; }
Property Value
Arg7
Get or set 7th argument to generate formatted string.
public object? Arg7 { get; set; }
Property Value
Arg8
Get or set 8th argument to generate formatted string.
public object? Arg8 { get; set; }
Property Value
Arg9
Get or set 9th argument to generate formatted string.
public object? Arg9 { get; set; }
Property Value
Format
Get or set string format.
public string? Format { get; set; }
Property Value
String
Get formatted string.
public string String { get; }
Property Value
Methods
Subscribe(IObserver<string>)
Notifies the provider that an observer is to receive notifications.
public IDisposable Subscribe(IObserver<string> observer)
Parameters
Returns
- IDisposable
A reference to an interface that allows observers to stop receiving notifications before the provider has finished sending them.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.