[]
        
(Showing Draft Content)

C1.Win.SplitContainer.C1SplitterPanel

C1SplitterPanel Class

Represents a single panel in a C1SplitContainer.

Namespace: C1.Win.SplitContainer
Assembly: C1.Win.SplitContainer.8.dll
Syntax
public class C1SplitterPanel : ThemeScrollableControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable

Constructors

Name Description
C1SplitterPanel()

Initializes a new instance of a C1SplitterPanel.

Properties

Name Description
Anchor

This property is not relevant for this class.

AutoSize

This property is not relevant for this class.

BorderColor

Gets or sets the border color of a C1SplitterPanel.

BorderWidth

Gets or sets the border width of a C1SplitterPanel.

CloseButtonStyle

Gets or sets the close button styles.

CloseButtonToolTip

Gets or sets the tooltip text for the Close button.

Collapsed

Gets or sets whether the panel is collapsed (duplicates the Visible property).

CollapsedToolTip

Gets or sets the tooltip text for the expanding handle of the panel in collapsed state.

Collapsible

Gets or sets whether the panel can be collapsed.

CollapsingToolTip

Gets or sets the tooltip text for the collapsing handle of the expanded panel.

CreateParams

Gets the required creation parameters when the control handle is created.

Dock

Gets or sets which panel border is docked to its parent C1SplitContainer.

DoubleBuffered

Gets or sets whether the panel should use double buffering to reduce flicker.

HeaderBackColor

Gets or sets the background color of the panel header.

HeaderButtonBackColor

Gets or sets the background color of a close button area of the C1SplitterPanel header.

HeaderForeColor

Gets or sets the foreground color of the panel header.

HeaderLineColor

Gets or sets the color of a horizontal line that appears below the panel header.

HeaderTextAlign

Gets or sets alignment of the panel caption text.

Height

Gets or sets the height of the panel.

KeepRelativeSize

Gets or sets whether the panel tries to keep its relative size when the owner container is resized.

Location

Gets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.

Margin

This property is not relevant for this class.

MaximumSize

This property is not relevant for this class.

MinHeight

Gets or sets the minimum height of the panel.

MinWidth

Gets or sets the minimum width of the panel.

MinimumSize

This property is not relevant for this class.

Padding

Gets or sets the interior spacing of the C1SplitterPanel.

Resizable

Gets or sets whether the panel can be resized with a splitter.

ResizeWhileDragging

Gets or sets whether the panel should be resized while the user is dragging the splitter.

RightToLeft

Gets a value indicating whether panel's elements are aligned to support locales using right-to-left fonts.

ShowCloseButton

Gets or sets whether the Close button should appear in the panel header.

Size

Gets the height and width of the control.

SizeRatio

Gets or sets the size of a panel as percentage of the whole remaining area.

SplitContainer

Gets a C1SplitContainer that this C1SplitterPanel belongs to.

Text

Gets or sets the panel caption.

Width

Gets or sets the width of the panel.

Methods

Name Description
Dispose(bool)

Clean up any resources being used.

OnCloseButtonClick(EventArgs)

Raises the CloseButtonClick event.

OnControlAdded(ControlEventArgs)

Raises the ControlAdded event.

OnDrawHeader(DrawHeaderEventArgs)

Raises the DrawHeader event.

OnDrawSplitter(DrawSplitterEventArgs)

Raises the DrawSplitter event.

OnHeaderClick(EventArgs)

Raises the HeaderClick event.

OnHeaderDoubleClick(EventArgs)

Raises the HeaderDoubleClick event.

OnSizeChanged(EventArgs)
OnVisibleChanged(EventArgs)

Raises the VisibleChanged event.

ResetBorderColor()

Resets the value of the BorderColor property.

ResetCloseButtonStyle()

Restores the default value of the CloseButtonStyle property.

ResetHeaderBackColor()

Resets the value of the HeaderBackColor property.

ResetHeaderButtonBackColor()

Resets the value of the HeaderButtonBackColor property.

ResetHeaderForeColor()

Resets the value of the HeaderForeColor property.

ResetHeaderLineColor()

Resets the value of the HeaderLineColor property.

ResetHeight()

Resets the value of the Height property.

ResetPadding()

Resets the value of the Padding property.

ResetSizeRatio()

Resets the value of the SizeRatio property.

ResetWidth()

Resets the value of the Width property.

SetVisibleCore(bool)

Sets the control to the specified visible state.

ShouldSerializeCloseButtonStyle()

Specifies whether to save the value of the CloseButtonStyle property.

ShouldSerializeHeaderButtonBackColor()

Specifies whether to save the value of the HeaderButtonBackColor property.

Events

Name Description
CloseButtonClick

Occurs when the Close button is clicked in the panel header.

DrawHeader

Occurs when background of the panel header should be repainted.

DrawSplitter

Occurs when the panel splitter should be repainted.

HeaderClick

Occurs when the panel header is clicked.

HeaderDoubleClick

Occurs when the panel header is double-clicked.