Show / Hide Table of Contents

Class DialogDefaultButtonToBooleanConverter

Converter to convert DialogDefaultButton to a boolean.

Inheritance
object
DialogDefaultButtonToBooleanConverter
Implements
IValueConverter
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public class DialogDefaultButtonToBooleanConverter : IValueConverter

Methods

View Source

Convert(object, Type, object, CultureInfo)

Converts the DialogDefaultButton to its appropriate boolean value.

Declaration
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type Name Description
object value

The DialogDefaultButton.

Type targetType
object parameter

An int value of the button number (1,2 or 3).

CultureInfo culture
Returns
Type Description
object

The converted boolean value.

View Source

ConvertBack(object, Type, object, CultureInfo)

Convert back

Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type Name Description
object value
Type targetType
object parameter
CultureInfo culture
Returns
Type Description
object

Implements

IValueConverter

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX