Case Class
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.
Case is the value container for the SwitchPresenter.
[Microsoft.UI.Xaml.Markup.ContentProperty(Name="Content")]
public class Case : Microsoft.UI.Xaml.DependencyObject
[<Microsoft.UI.Xaml.Markup.ContentProperty(Name="Content")>]
type Case = class
inherit DependencyObject
Public Class Case
Inherits DependencyObject
- Inheritance
-
Microsoft.UI.Xaml.DependencyObjectCase
- Attributes
-
Microsoft.UI.Xaml.Markup.ContentPropertyAttribute
Content |
Identifies the Content property. |
Is |
Identifies the IsDefault property. |
Value |
Identifies the Value property. |
Content |
Gets or sets the Content to display when this case is active. |
Is |
Gets or sets a value indicating whether this is the default case to display when no values match the specified value in the SwitchPresenter. There should only be a single default case provided. Do not set the Value property when setting IsDefault to |
Value |
Gets or sets the Value that this case represents. If it matches the Value this case's Content will be displayed in the presenter. |
Produit | Versions |
---|---|
Windows Community Toolkit | 7.0.0 |