[]
        
(Showing Draft Content)

C1.WPF.Tile.C1TileBase

C1TileBase Class

Provides the base implementation for all tile controls.

Inheritance
C1TileBase
Namespace: C1.WPF.Tile
Assembly: C1.WPF.Tile.4.6.2.dll
Syntax
[TemplateVisualState(Name = "Disabled", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Normal", GroupName = "CommonStates")]
public class C1TileBase : C1HeaderedContentControl

Constructors

Name Description
C1TileBase()

Initializes the new instance of the C1TileBase control.

Fields

Name Description
CommandParameterProperty

Identifies the CommandParameter dependency property.

CommandProperty

Identifies the Command dependency property.

IsFrozenProperty

Identifies the IsFrozen dependency property.

Properties

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.

Methods

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.

Events

Name Description
Click

Occurs when a tile control is clicked.