Class TemplateToVisibilityConverter
Converts the template to visibilty.
Inheritance
System.Object
TemplateToVisibilityConverter
Implements
System.Windows.Data.IValueConverter
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.Shared.Wpf.dll
Syntax
public class TemplateToVisibilityConverter : IValueConverter
Constructors
TemplateToVisibilityConverter()
Declaration
public TemplateToVisibilityConverter()
Methods
Convert(Object, Type, Object, CultureInfo)
Converts the object to visibility.
Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Object that needs to be convert |
System.Type | targetType | Target type of the object. |
System.Object | parameter | Object parameter. |
System.Globalization.CultureInfo | culture | Culture info |
Returns
Type | Description |
---|---|
System.Object | Visibility of the object. |
ConvertBack(Object, Type, Object, CultureInfo)
Convert back the visibility.
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | Value of the object. |
System.Type | targetType | Target type of the object |
System.Object | parameter | Object parameter. |
System.Globalization.CultureInfo | culture | Culture info. |
Returns
Type | Description |
---|---|
System.Object | Converted object. |
Implements
System.Windows.Data.IValueConverter