[]
        
(Showing Draft Content)

C1.Win.TreeView.CustomContentPresenter

CustomContentPresenter Class

The CustomContentPresenter is a layout panel with the only child element which always fills all available space.

Inheritance
CustomContentPresenter
Namespace: C1.Win.TreeView
Assembly: C1.Win.TreeView.8.dll
Syntax
public abstract class CustomContentPresenter : BasePanel, ISupportUia, IToolTipElement

Constructors

Name Description
CustomContentPresenter()

Initializes a new instance of a CustomContentPresenter.

Properties

Name Description
Child

Root Element of CustomContentPresenter.

IsEnabled

Gets whether this element and all its ancestors are enabled.

IsHotSelected

Gets a value indicating whether this CustomContentPresenter is in the selected anh hot state.

IsSelected

Gets a value indicating whether this CustomContentPresenter is in the selected state.

IsUnfocusedSelected

Gets a value indicating whether this CustomContentPresenter is in the selected state and the C1TreeView hasn't focus.

Node

Gets the C1TreeNode that represents the CustomContentPresenter.

Owner

Gets the C1TreeView of current C1TreeNode.

ToolTipText

Gets or sets the text that appears as a ToolTip for this CustomContentPresenter.

Methods

Name Description
Layout(Graphics)

Layout this element based on its style and contents.

LayoutChildren(Graphics)

Update children layout and position.

OnLostFocus(EventArgs)

Called by the host control when this Element loses the focus.

SetFormat(string)

Sets the format string used to display the value when the node cell is not in edit mode.

SetShowFocusRectangle(bool)

Sets a value indicating whether this element shows the focus rectangle or not.

SetStyle(TreeNodeCellStyles)

Sets the styles of this CustomContentPresenter.

SetValue(object)

Sets the value represented by this C1.Win.TreeView.ICellContentPresenter.