IsLessThanValueConverter
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Controls.Office
Reports whether the bound value is below the threshold at which a ribbon control has to fall back to its reduced layout. The threshold is fixed at 40 device-independent units.
public class IsLessThanValueConverter : IValueConverter
Inherits from / implements: IValueConverter
Members at a glance
Convert | Performs the conversion this converter exists for, as described on IsLessThanValueConverter. |
ConvertBack | Not supported. This conversion is one-way, so there is nothing to convert back to. |
Methods
Convert
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Performs the conversion this converter exists for, as described on IsLessThanValueConverter.
- value
- The value produced by the binding source.
- targetType
- The type the binding target expects.
- parameter
- The converter parameter given in the binding.
- culture
- The culture to use for the conversion.
Returns. The converted value.
ConvertBack
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Not supported. This conversion is one-way, so there is nothing to convert back to.
- value
- The value produced by the binding source.
- targetType
- The type the binding target expects.
- parameter
- The converter parameter given in the binding.
- culture
- The culture to use for the conversion.
Returns. No usable value.