[]
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.
[TemplatePart(Name = "ItemsListBox", Type = typeof(ListBox))]
[TemplatePart(Name = "CategoriesTreeView", Type = typeof(C1TreeView))]
[TemplateVisualState(Name = "MouseOver", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Disabled", GroupName = "CommonStates")]
[TemplateVisualState(Name = "Normal", GroupName = "CommonStates")]
public class C1ExpressionEditorPanel : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable
| Name | Description |
|---|---|
| C1ExpressionEditorPanel() | Initializes a new instance of a C1ExpressionEditorPanel. |
| Name | Description |
|---|---|
| ButtonBackgroundProperty | Identifies the ButtonBackground dependency property. |
| ButtonForegroundProperty | Identifies the ButtonForeground dependency property. |
| CategoriesProperty | Identifies the Categories dependency property. |
| ExpressionEditorProperty | Identifies the ExpressionEditor dependency property. |
| MouseOverBrushProperty | Identifies the MouseOverBrush dependency property. |
| PressedBrushProperty | Identifies the PressedBrush dependency property. |
| 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. |
| Categories | Gets the expression item categories. |
| ExpressionEditor | Gets or sets related expression editor control. |
| 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. |
| Name | Description |
|---|---|
| ChangeVisualStateCommon(bool) | Updates the current visual state of the Common visual state group to match the object's properties. |
| Dispose() | Clean up any resources being used. |
| Dispose(bool) | Performs cleanup operations on managed and unmanaged resources. |
| OnApplyTemplate() | Builds the visual tree for the C1ExpressionEditorPanel control when a new template is applied. |
| OnPropertyChanged(DependencyPropertyChangedEventArgs) | Invoked whenever the effective value of any dependency property has been updated. |
| Name | Description |
|---|---|
| IsMouseOverChanged | Event raised when the IsMouseOver property has changed. |