SetterTriggerConditionValueConverter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides type conversion analogous behavior for Setter, Trigger and Condition types that deal with DependencyProperty values. This converter only supports ConvertFrom.
public ref class SetterTriggerConditionValueConverter sealed : System::ComponentModel::TypeConverter
public sealed class SetterTriggerConditionValueConverter : System.ComponentModel.TypeConverter
type SetterTriggerConditionValueConverter = class
inherit TypeConverter
Public NotInheritable Class SetterTriggerConditionValueConverter
Inherits TypeConverter
- Inheritance
Remarks
SetterTriggerConditionValueConverter is not intended for use by user code, it supports WPF feature areas such as processing Setter, Trigger and Condition in templates.
Constructors
| Name | Description |
|---|---|
| SetterTriggerConditionValueConverter() |
Initializes a new instance of the SetterTriggerConditionValueConverter class. |
Methods
| Name | Description |
|---|---|
| CanConvertFrom(ITypeDescriptorContext, Type) |
Returns a value that indicates whether the converter can convert from a source object to a side-effect-produced Setter, Trigger or Condition . |
| CanConvertTo(ITypeDescriptorContext, Type) |
Returns a value that indicates whether the converter can convert to the specified destination type. Always returns |
| ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) |
Converts the converted source value if an underlying type converter can be obtained from context. Otherwise returns an unconverted source. |
| ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) |
Converts the specified object to the specified type. Always throws an exception. |