alexa
menu

WPF

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

    Show / Hide Table of Contents

    Class DockAbilityToBoolConverter

    Converts the DockAbility value to System.Boolean which handles the accessbility of the element

    Inheritance
    System.Object
    DockAbilityToBoolConverter
    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 DockAbilityToBoolConverter : IMultiValueConverter

    Constructors

    DockAbilityToBoolConverter()

    Declaration
    public DockAbilityToBoolConverter()

    Methods

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

    Converts an array of values to a boolean based on the specified DockAbility and parameter.

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

    An array of input values, where the first value is expected to be of type DockAbility.

    System.Type targetType

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

    System.Object parameter

    An optional parameter used for comparison with the DockAbility value.

    System.Globalization.CultureInfo culture

    The culture to use in the converter.

    Returns
    Type Description
    System.Object

    Returns true if the DockAbility value matches the parameter or satisfies the global condition; otherwise, false.

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

    Not implemented. This method is intended to convert a value back to an array of source values, but currently 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 to convert to.

    System.Object parameter

    An optional parameter used in the conversion logic.

    System.Globalization.CultureInfo culture

    The culture to use in the converter.

    Returns
    Type Description
    System.Object[]

    This method does not return a value; it always throws an exception.

    Exceptions
    Type Condition
    System.NotImplementedException

    Thrown in all cases as the method is not implemented.

    Implements

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