BooleanToRibbonGroupTitleTextPanelHeightConverter
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Controls.Office
Turns the flag that says a ribbon group has a title into the height of the title panel: full height when there is a title, a hairline when there is not.
public class BooleanToRibbonGroupTitleTextPanelHeightConverter : IValueConverter
Inherits from / implements: IValueConverter
Members at a glance
Convert | Performs the conversion this converter exists for, as described on BooleanToRibbonGroupTitleTextPanelHeightConverter. |
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, System.Globalization.CultureInfo culture)
Performs the conversion this converter exists for, as described on BooleanToRibbonGroupTitleTextPanelHeightConverter.
- 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, System.Globalization.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.