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
public FormattedSubjectConverter()
Methods
Converts the source values to a formatted subject string for display in the agenda view.
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
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).
The type of the binding target property. This parameter is not used.
parameterobjectAn optional parameter to be used in the converter logic. This parameter is not used.
cultureCultureInfoThe 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.
This method is not supported and will throw a NotImplementedException.
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
The value that is produced by the binding target.
targetTypesType[]The array of types to convert to.
parameterobjectThe converter parameter to use.
cultureCultureInfoThe 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.