[]
The C1ExpressionEditorPanel control provides C1ExpressionEditor by panel of useful tools. It provides a list of predefined and dynamic elements that can be used in expression.
[StyleTypedProperty(Property = "ButtonStyle", StyleTargetType = typeof(C1Button))]
[StyleTypedProperty(Property = "CategoriesTreeViewStyle", StyleTargetType = typeof(C1TreeView))]
[StyleTypedProperty(Property = "ExpressionItemsListViewStyle", StyleTargetType = typeof(C1ListView))]
[StyleTypedProperty(Property = "DescriptionPanelStyle", StyleTargetType = typeof(C1Border))]
[TemplatePart(Name = "ItemsListView", Type = typeof(C1ListView))]
public class C1ExpressionEditorPanel : C1View
<StyleTypedProperty(Property:="ButtonStyle", StyleTargetType:=GetType(C1Button))>
<StyleTypedProperty(Property:="CategoriesTreeViewStyle", StyleTargetType:=GetType(C1TreeView))>
<StyleTypedProperty(Property:="ExpressionItemsListViewStyle", StyleTargetType:=GetType(C1ListView))>
<StyleTypedProperty(Property:="DescriptionPanelStyle", StyleTargetType:=GetType(C1Border))>
<TemplatePart(Name:="ItemsListView", Type:=GetType(C1ListView))>
Public Class C1ExpressionEditorPanel
Inherits C1View
| Name | Description |
|---|---|
| C1ExpressionEditorPanel() | Initializes a new instance of the C1ExpressionEditorPanel class. |
| Name | Description |
|---|---|
| AutoGenerateCategoriesProperty | Identifies the AutoGenerateCategories dependency property. |
| ButtonStyleProperty | Identifies the ButtonStyle dependency property. |
| CategoriesProperty | Identifies the Categories dependency property. |
| CategoriesTreeViewStyleProperty | Identifies the CategoriesTreeViewStyle dependency property. |
| DescriptionPanelStyleProperty | Identifies the DescriptionPanelStyle dependency property. |
| EditorProperty | Identifies the Editor dependency property. |
| ExpressionItemsListViewStyleProperty | Identifies the ExpressionItemsListViewStyle dependency property. |
| _autoGenerateCategories | Gets or sets a value indicating whether Categories property should be populated automatically. |
| Name | Description |
|---|---|
| AutoGenerateCategories | Gets or sets a value indicating whether Categories property should be populated automatically. |
| ButtonStyle | Gets or sets the style for all buttons. |
| Categories | Gets or sets the expression item categories. |
| CategoriesTreeViewStyle | Gets or sets the style for categories tree view. |
| DescriptionPanelStyle | Gets or sets the style for description panel. |
| Editor | Gets or sets the C1ExpressionEditor which dynamically produce an expression and get the result of the expression. |
| ExpressionItemsListViewStyle | Gets or sets the style for expression items list view. |
| InsertItem | Gets a command that inserts expression item to attached expression editor. Returns a command that inserts an expression element into the attached expression editor. |
| Name | Description |
|---|---|
| Dispose(bool) | |
| OnApplyTemplate() | |
| OnCreateAutomationPeer() |
| Name | Description |
|---|---|
| AutoGeneratingCategory | Occurs when an auto-generated category is being created. |
| CategoriesAutoGenerated | Occurs when Categories auto generated. |
| EditorChanged | Occurs when Editor changed. |