alexa
menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class HeaderVisibilityConverter

    Converts multiple boolean values to a System.Windows.Visibility value to determine the visibility of a header panel.

    Inheritance
    System.Object
    HeaderVisibilityConverter
    Implements
    System.Windows.Data.IMultiValueConverter
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class HeaderVisibilityConverter : IMultiValueConverter

    Constructors

    HeaderVisibilityConverter()

    Declaration
    public HeaderVisibilityConverter()

    Methods

    Convert(Object[], Type, Object, CultureInfo)

    Converts two boolean values indicating header visibility settings into a System.Windows.Visibility value.

    Declaration
    public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
    Parameters
    Type Name Description
    System.Object[] values

    An array of two boolean values: the first indicates general header visibility, the second indicates float window header visibility.

    System.Type targetType

    The target type of the binding (expected to be System.Windows.Visibility).

    System.Object parameter

    An optional parameter to influence the conversion logic (not used).

    System.Globalization.CultureInfo culture

    The culture to use in the converter (not used).

    Returns
    Type Description
    System.Object

    System.Windows.Visibility.Collapsed if either value indicates no header; otherwise, System.Windows.Visibility.Visible.

    ConvertBack(Object, Type[], Object, CultureInfo)

    Not implemented. Throws a System.NotImplementedException.

    Declaration
    public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
    Parameters
    Type Name Description
    System.Object value

    The value produced by the binding target.

    System.Type[] targetTypes

    The array of target types.

    System.Object parameter

    An optional parameter.

    System.Globalization.CultureInfo culture

    The culture to use in the converter.

    Returns
    Type Description
    System.Object[]

    Throws System.NotImplementedException.

    Implements

    System.Windows.Data.IMultiValueConverter
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved