- Namespace
- MahApps
.Metro .Converters - Interfaces
-
- IValueConverter
- IMultiValueConverter
- Base Types
-
- MarkupExtension
- MarkupMultiConverter
graph BT
Type-->Base0["MarkupMultiConverter"]
click Base0 "/api/MahApps.Metro.Converters/MarkupMultiConverter"
Base0-->Base1["MarkupExtension"]
Type-.->Interface0["IValueConverter"]
Type-.->Interface1["IMultiValueConverter"]
Type["ColorToNameConverter"]
class Type type-node
Syntax
[MarkupExtensionReturnType(typeof(ColorToNameConverter))]
[ValueConversion(typeof(Color? ), typeof(string))]
public class ColorToNameConverter : MarkupMultiConverter, IValueConverter, IMultiValueConverter
Attributes
Type | Description |
---|---|
Markup |
|
ValueConversion |
Methods
Name | Value | Summary |
---|---|---|
Convert |
object |
Converts a given
Color to its Name
|
Convert |
object |
Converts a given
Color to its Name
|
ConvertBack |
object |
Converts a given
string back to a Color
|
ConvertBack |
object[] |
The ConvertBack-Method is not available inside a
MultiBinding . Use a Binding with the optional Binding.ConverterParameter instead.
|
ProvideValue |
object |
Inherited from MarkupMultiConverter
|