[]
Provides the base implementation for all tile controls.
[TemplateVisualState(Name = "Disabled", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Normal", GroupName = "CommonStates")]
public class C1TileBase : C1HeaderedContentControl
Name | Description |
---|---|
C1TileBase() | Initializes the new instance of the C1TileBase control. |
Name | Description |
---|---|
CommandParameterProperty | Identifies the CommandParameter dependency property. |
CommandProperty | Identifies the Command dependency property. |
IsFrozenProperty | Identifies the IsFrozen dependency property. |
Name | Description |
---|---|
Command | Gets or sets the command to invoke when this button is pressed. |
CommandParameter | Gets or sets the parameter to pass to the Command property. |
IsFrozen | Gets or sets the bool value specifying whether tile updates should be performed on the current C1TileBase object. This is a dependency property. The default value is false. |
Name | Description |
---|---|
ChangeVisualStateCommon(bool) | Updates the current visual state of the Common visual state group to match the object's properties. |
OnApplyTemplate() | |
OnCreateAutomationPeer() | Gets an AutomationPeer object used for testing the control. |
OnLoaded() | Registers the current C1TileBase object in the C1TileService to enable timing updates. |
OnMouseLeftButtonDown(MouseButtonEventArgs) | |
OnMouseLeftButtonUp(MouseButtonEventArgs) | |
OnUnloaded() | Unregisters the current C1TileBase object in the C1TileService to disable tile updates. |
ToString() | Returns Header if it is a string value; |
UpdateCanExecuteState() | If Command property is set, calls ICommand.CanExecute method and updates IsEnabled property accordingly. |
UpdateTile() | When overridden in derived class, performs tile update. |
Name | Description |
---|---|
Click | Occurs when a tile control is clicked. |