[]
        
(Showing Draft Content)

C1.WPF.Extended.PropertyGrid.AdvancedEditor

AdvancedEditor Class

Advanced editor which contains a button and the capability of hosting other common PropertyGrid editors contained in a child window.

Namespace: C1.WPF.Extended.PropertyGrid
Assembly: C1.WPF.Extended.4.6.2.dll
Syntax
[TemplatePart(Name = "OpenButton", Type = typeof(Button))]
[StyleTypedProperty(Property = "WindowStyle", StyleTargetType = typeof(C1Window))]
[StyleTypedProperty(Property = "ButtonStyle", StyleTargetType = typeof(Button))]
public class AdvancedEditor : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient

Constructors

Name Description
AdvancedEditor()

Initializes a new instance of a AdvancedEditor.

Fields

Name Description
ButtonStyleProperty

Identifies the ButtonStyle dependency property.

EditorProperty

Identifies the Editor dependency property.

LabelProperty

Identifies the Label dependency property.

WindowStyleProperty

Identifies the WindowStyle dependency property.

Properties

Name Description
ButtonStyle

Gets or sets the style applied to the advanced editor's button.

Editor

Gets the editor used within this advanced editor control.

Label

Gets the label of the advanced editor control.

WindowStyle

Gets or sets the style applied to the advanced editor's window.

Methods

Name Description
OnApplyTemplate()

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

OnOpenButtonClick(object, RoutedEventArgs)

Called when the open window button is clicked.

OnWindowCreated(C1Window)

Invoked after the C1.WPF.C1Window instance was created.

Events

Name Description
WindowOpened

Occurs when child window is opened.