SwitchConverter Class
Transformer which maps from input values to output values, based on a list of SwitchCase children. This isn't strictly a C-style 'switch' statement, since cases aren't guaranteed to be unique.
Inheritance Hierarchy
System..::..Object
System.Windows.Threading..::..DispatcherObject
System.Windows..::..DependencyObject
Microsoft.Data.Tools.Design.Core.Controls..::..SwitchConverter
Namespace: Microsoft.Data.Tools.Design.Core.Controls
Assembly: Microsoft.Data.Tools.Design.Core (in Microsoft.Data.Tools.Design.Core.dll)
Syntax
'Declaration
<ContentPropertyAttribute("Cases")> _
Public Class SwitchConverter _
Inherits DependencyObject _
Implements IValueConverter
'Usage
Dim instance As SwitchConverter
[ContentPropertyAttribute("Cases")]
public class SwitchConverter : DependencyObject,
IValueConverter
[ContentPropertyAttribute(L"Cases")]
public ref class SwitchConverter : public DependencyObject,
IValueConverter
[<ContentPropertyAttribute("Cases")>]
type SwitchConverter =
class
inherit DependencyObject
interface IValueConverter
end
public class SwitchConverter extends DependencyObject implements IValueConverter
The SwitchConverter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SwitchConverter | Initializes a new instance of the SwitchConverter class. |
Top
Properties
Name | Description | |
---|---|---|
Cases | Gets {insert text here}. | |
DefaultValue | Gets or sets {insert text here}. | |
DependencyObjectType | (Inherited from DependencyObject.) | |
Dispatcher | (Inherited from DispatcherObject.) | |
IsSealed | (Inherited from DependencyObject.) |
Top
Methods
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.