Show / Hide Table of Contents

Class LessThanOrEqualBinding

Creates a Binding that evaluates whether a specific property is less than or equal to a specified Threshold.

Inheritance
Object
MarkupExtension
LessThanOrEqualBinding
Implements
IValueConverter
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: PresentationTheme.AeroLite.Win10
Assembly: PresentationTheme.AeroLite.Win10.dll
Syntax
[ValueConversion(typeof(double), typeof(bool))]
public class LessThanOrEqualBinding : MarkupExtension, IValueConverter

Constructors

| Improve this Doc View Source

LessThanOrEqualBinding(String)

Initializes a new instance of the LessThanOrEqualBinding class.

Declaration
public LessThanOrEqualBinding(string path)
Parameters
Type Name Description
String path

The Path value.

Properties

| Improve this Doc View Source

ElementName

Gets or sets the ElementName of the Binding returned by ProvideValue(IServiceProvider).

Declaration
public string ElementName { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

Path

Gets or sets the Path of the Binding returned by ProvideValue(IServiceProvider).

Declaration
public string Path { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

Threshold

Gets or sets the threshold.

Declaration
public double Threshold { get; set; }
Property Value
Type Description
Double

Methods

| Improve this Doc View Source

ProvideValue(IServiceProvider)

Returns a Binding that evaluates whether a specific property is less than or equal to a specified Threshold.

Declaration
public override object ProvideValue(IServiceProvider serviceProvider)
Parameters
Type Name Description
IServiceProvider serviceProvider

A service provider helper that can provide services for the markup extension. Not used.

Returns
Type Description
Object

The object value to set on the property where the extension is applied.

Overrides
MarkupExtension.ProvideValue(IServiceProvider)

Explicit Interface Implementations

| Improve this Doc View Source

IValueConverter.Convert(Object, Type, Object, CultureInfo)

Declaration
object IValueConverter.Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type Name Description
Object value
Type targetType
Object parameter
CultureInfo culture
Returns
Type Description
Object
| Improve this Doc View Source

IValueConverter.ConvertBack(Object, Type, Object, CultureInfo)

Declaration
object IValueConverter.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

System.Windows.Data.IValueConverter
  • Improve this Doc
  • View Source
Back to top Generated by DocFX