[]
Provides easy display and edit collection from a layout.
[TemplatePart(Name = "Presenter", Type = typeof(C1InputPanelPresenter))]
[TemplatePart(Name = "Validation", Type = typeof(C1InputPanelValidationSummary))]
[TemplatePart(Name = "DataPager", Type = typeof(C1DataPager))]
[TemplatePart(Name = "InputPanelGrid", Type = typeof(Grid))]
[TemplatePart(Name = "ItemsScrollViewer", Type = typeof(ScrollViewer))]
[TemplateVisualState(Name = "ActionButtonsHidden", GroupName = "ReadOnlyStates")]
[TemplateVisualState(Name = "ActionButtonsShown", GroupName = "ReadOnlyStates")]
[TemplateVisualState(Name = "NavigationHidden", GroupName = "NavigationVisibilityStates")]
[TemplateVisualState(Name = "NavigationShown", GroupName = "NavigationVisibilityStates")]
[TemplateVisualState(Name = "AddButtonShown", GroupName = "AddButtonVisibilityStates")]
[TemplateVisualState(Name = "AddButtonHidden", GroupName = "AddButtonVisibilityStates")]
[TemplateVisualState(Name = "DeleteButtonShown", GroupName = "DeleteButtonVisibilityStates")]
[TemplateVisualState(Name = "DeleteButtonHidden", GroupName = "DeleteButtonVisibilityStates")]
[TemplateVisualState(Name = "AddButtonNormal", GroupName = "AddButtonEnableStateStates")]
[TemplateVisualState(Name = "AddButtonDisable", GroupName = "AddButtonEnableStateStates")]
[TemplateVisualState(Name = "DeleteButtonNormal", GroupName = "DeleteButtonEnableStateStates")]
[TemplateVisualState(Name = "DeleteButtonDisable", GroupName = "DeleteButtonEnableStateStates")]
public class C1InputPanel : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient
| Name | Description |
|---|---|
| C1InputPanel() | Initializes a new instance of a C1InputPanel. |
| Name | Description |
|---|---|
| AddButtonVisibility | Gets or sets a value that determines whether the Add button is shown. |
| AutoCommit | Gets or sets a value that indicates whether the input data is committed automatically. |
| 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. |
| DataPagerVisibility | Gets or sets a value that determines whether C1DataPager is shown. |
| DeleteButtonVisibility | Gets or sets a value that determines whether the Delete button is shown. |
| DisplayMode | Gets or sets a value that indicates how the C1DataPager will render. |
| FocusBrush | Gets or sets the Brush used to highlight the focused control. |
| FooterBorderStyle | Gets or sets the style used for inner footer border. |
| FooterButtonBackground | Gets or sets the background used for the inner footer buttons. |
| FooterButtonForeground | Gets or sets the foreground used for the inner footer buttons. |
| Header | Gets or sets the header of C1InputPanel. |
| HeaderBackground | Gets or sets the background brush of the header. |
| HeaderFontFamily | Gets or sets the font family of the header. |
| HeaderFontSize | Gets or sets the font size of the header. |
| HeaderFontStretch | Gets or sets the font stretch of the header. |
| HeaderFontStyle | Gets or sets the font style of the header. |
| HeaderFontWeight | Gets or sets the font weight of the header. |
| HeaderForeground | Gets or sets the foreground brush of the header. |
| HeaderPadding | Gets or sets the padding of the header. |
| HeaderTemplate | Gets or sets the data template used to display the header. |
| HorizontalHeaderAlignment | Gets or sets the HorizontalContentAlignment of the header. |
| IsReadOnly | Gets or sets a value that determines if the C1InputPanel is read-only. |
| ItemsPanelTemplate | Gets or sets a template that defines the C1InputPanel that controls the layout of items. |
| ItemsSource | Gets or sets a collection of items that will be shown. |
| 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. |
| NavigationBackground | Gets or sets the background of navigation bar. |
| NavigationButtonStyle | Gets or sets the style that will be used for C1DataPager navigation buttons. |
| PressedBrush | Gets or sets the Brush used to paint a button when it is pressed. |
| ValidationBackground | Gets or sets the background of C1InputPanelValidationSummary. |
| ValidationContentForeground | Gets or sets the foreground of error information content. |
| ValidationErrors | Indicates the list of validation errors. |
| ValidationHeaderForeground | Gets or sets the foreground of error information header. |
| VerticalHeaderAlignment | Gets or sets the VerticalContentAlignment of the header. |
| Name | Description |
|---|---|
| ChangeVisualStateAddButtonEnableState(bool) | Updates the current visual state of the AddButtonEnableState visual state group to match the object's properties. |
| ChangeVisualStateAddButtonVisibility(bool) | Updates the current visual state of the AddButtonVisibility visual state group to match the object's properties. |
| ChangeVisualStateDeleteButtonEnableState(bool) | Updates the current visual state of the DeleteButtonEnableState visual state group to match the object's properties. |
| ChangeVisualStateDeleteButtonVisibility(bool) | Updates the current visual state of the DeleteButtonVisibility visual state group to match the object's properties. |
| ChangeVisualStateNavigationVisibility(bool) | Updates the current visual state of the NavigationVisibility visual state group to match the object's properties. |
| ChangeVisualStateReadOnly(bool) | Updates the current visual state of the ReadOnly visual state group to match the object's properties. |
| OnApplyTemplate() | Builds the visual tree for the C1InputPanel control when a new template is applied. |
| Name | Description |
|---|---|
| AddedNewItem | Occurs after new item was added. |
| AddingNewItem | Occurs before adding a new item. |
| CancelledCurrentItem | Occurs after current item was cancelled. |
| CurrentItemChanged | Event raised when the CurrentItem property has changed. |
| DeletedCurrentItem | Occurs after current item was deleted. |
| DeletingItem | Occurs before deleting an item. |
| EditedCurrentItem | Occurs after current item was edited. |
| GeneratingInput | EventHandler before create editor. |
| ValidateCurrentItem | Occurs before validation of the current item. |