[]
        
(Showing Draft Content)

C1.WPF.InputPanel.C1InputPanelPresenter

C1InputPanelPresenter Class

An instance of this class is used in the C1InputPanel's control template to define a place in the control's visual tree where a pane representing individual input fields will appear.

Namespace: C1.WPF.InputPanel
Assembly: C1.WPF.InputPanel.4.6.2.dll
Syntax
[TemplatePart(Name = "Items", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "Content", Type = typeof(ContentPresenter))]
[TemplateVisualState(Name = "Auto", GroupName = "GenerateStatesStates")]
[TemplateVisualState(Name = "Customized", GroupName = "GenerateStatesStates")]
public class C1InputPanelPresenter : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient

Constructors

Name Description
C1InputPanelPresenter()

Initializes a new instance of a C1InputPanelPresenter.

Fields

Name Description
AutoGenerateProperty

Identifies the AutoGenerate dependency property.

ButtonBackgroundProperty

Identifies the ButtonBackground dependency property.

ButtonForegroundProperty

Identifies the ButtonForeground dependency property.

CornerRadiusProperty

Identifies the CornerRadius dependency property.

CurrentItemProperty

Identifies the CurrentItem dependency property.

FocusBrushProperty

Identifies the FocusBrush dependency property.

InputControlsProperty

Identifies the InputControls dependency property.

IsReadOnlyProperty

Identifies the IsReadOnly dependency property.

ItemsPanelTemplateProperty

Identifies the ItemsPanelTemplate dependency property.

ItemsTemplateProperty

Identifies the ItemsTemplate dependency property.

LabelForegroundProperty

Identifies the LabelForeground dependency property.

MouseOverBrushProperty

Identifies the MouseOverBrush dependency property.

PressedBrushProperty

Identifies the PressedBrush dependency property.

Properties

Name Description
AutoGenerate

Gets or sets a value that indicates whether the input controls are created automatically.

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.

CurrentItem

Gets or sets an item which is currently visible in C1InputPanel.

FocusBrush

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

InputControls

Gets or sets an input control collection which is shown in C1InputPanel.

IsReadOnly

Gets or sets a value that determines if the input controls are read-only.

ItemsPanelTemplate

Gets or sets a template that defines the C1InputPanel that controls the layout of items.

ItemsTemplate

Gets or sets a template applied to C1InputPanel.

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.

PressedBrush

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

Methods

Name Description
ChangeVisualStateGenerateStates(bool)

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

OnApplyTemplate()

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

Events

Name Description
GeneratingInput

EventHandler before create editor.