[]
        
(Showing Draft Content)

C1.WPF.InputPanel.C1InputBase

C1InputBase Class

Displays and edits the data in C1InputPanel.

Namespace: C1.WPF.InputPanel
Assembly: C1.WPF.InputPanel.4.6.2.dll
Syntax
[TemplatePart(Name = "Header", Type = typeof(FrameworkElement))]
[TemplateVisualState(Name = "ReadOnlyState", GroupName = "ReadOnlyStatesStates")]
[TemplateVisualState(Name = "EditableState", GroupName = "ReadOnlyStatesStates")]
public class C1InputBase : ContentControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild

Constructors

Name Description
C1InputBase()

Initializes a new instance of a C1InputBase.

Fields

Name Description
ButtonBackgroundProperty

Identifies the ButtonBackground dependency property.

ButtonForegroundProperty

Identifies the ButtonForeground dependency property.

CornerRadiusProperty

Identifies the CornerRadius dependency property.

FocusBrushProperty

Identifies the FocusBrush dependency property.

HeaderProperty

Identifies the Header dependency property.

IsReadOnlyProperty

Identifies the IsReadOnly dependency property.

LabelForegroundProperty

Identifies the LabelForeground dependency property.

MouseOverBrushProperty

Identifies the MouseOverBrush dependency property.

PressedBrushProperty

Identifies the PressedBrush dependency property.

Properties

Name Description
ButtonBackground

Gets or sets the Brush that will be assigned to the Background of the buttons inside the control.

ButtonForeground

Gets or sets the Brush that will be assigned to the Foreground of the buttons inside the control.

CornerRadius

Gets or sets a value that represents the degree to which the corners of the element are rounded.

DataBinding

Gets or sets the data binding.

FocusBrush

Gets or sets the Brush used to highlight the focused control.

Header

Gets or sets the property name of this control.

IsReadOnly

Gets or sets a value that determines if this control is read-only.

LabelForeground

Gets or sets the background of label.

MouseOverBrush

Gets or sets the Brush used to highlight the control when it has the mouse over.

Order

Gets or sets the constol order.

PressedBrush

Gets or sets the Brush used to paint a button when it is pressed.

Methods

Name Description
ChangeVisualStateReadOnlyStates(bool)

Updates the current visual state of the ReadOnlyStates visual state group to match the object's properties.

IsEnabledBinding()

Binds the IsEnabled property to the current input control.

IsReadOnlyBinding()

Binds the IsReadOnly property to the current input control.

OnApplyTemplate()

Builds the visual tree for the C1InputBase control when a new template is applied.