Converters Namespace
Namespace Avalonia.Controls.Pdf.Converters
Types
- InverseBooleanConverter - Converts boolean to inverted boolean.
- SidebarModeConverter - Converts SidebarMode to boolean for panel visibility.
- SidebarModeIsNotNoneConverter - Returns true when SidebarMode is not None (i.e., any sidebar panel is open).
- StringFormatConverter - Formats the first value (a string.Format(IFormatProvider,string,object[]) pattern from Avalonia.Controls.PdfViewerStrings) with the remaining values, in the binding's culture. Lets the template compose "of 5" from a translatable pattern rather than from fragments whose word order is fixed.
- ViewModeIsContinuousConverter - Converts PdfViewMode to boolean for icon visibility. Use ConverterParameter="invert" to invert the result.
- ZoomLevelToPercentConverter - Converts a zoom level (0.0 - 10.0) to a percentage string (e.g., "100%").