ClassFormattedSubjectConverter
A multi-value converter that formats appointment subjects for display in the agenda view of the RadScheduler. This converter is used to ensure that the formatted subject updates reactively when the underlying appointment's subject property changes.
Definition
Namespace:Telerik.Maui.Controls.Scheduler
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class FormattedSubjectConverter : IMultiValueConverter
Inheritance: objectFormattedSubjectConverter
Implements:
Constructors
FormattedSubjectConverter()
Declaration
public FormattedSubjectConverter()
Methods
Convert(object[], Type, object, CultureInfo)
Converts the source values to a formatted subject string for display in the agenda view.
Declaration
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
Parameters
values
object[]
An array of values where:
- values[0] should be an AgendaAppointmentNode instance.
- values[1] should be the appointment's subject (used to trigger binding updates).
targetType
The type of the binding target property. This parameter is not used.
parameter
An optional parameter to be used in the converter logic. This parameter is not used.
culture
The culture to use in the converter. This parameter is not used.
Returns
A formatted subject string from the FormattedSubject property, or an empty string if the values are invalid.
ConvertBack(object, Type[], object, CultureInfo)
This method is not supported and will throw a NotImplementedException.
Declaration
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
Parameters
value
The value that is produced by the binding target.
targetTypes
Type[]
The array of types to convert to.
parameter
The converter parameter to use.
culture
The culture to use in the converter.
Returns
object[]
This method does not return a value.
Exceptions
This method is not implemented as two-way binding is not supported.