[]
        
(Showing Draft Content)

C1.Win.Accordion.C1Accordion

C1Accordion Class

Represents a Windows Forms Accordion control.

Inheritance
C1Accordion
Implements
Namespace: C1.Win.Accordion
Assembly: C1.Win.Accordion.8.dll
Syntax
[ToolboxBitmap(typeof(C1Accordion), "C1Accordion.png")]
public class C1Accordion : XView, ISupportInitialize

Constructors

Name Description
C1Accordion()

Initializes a new instance of the C1Accordion class.

Properties

Name Description
ActivePage

Gets or sets the C1AccordionPage that is currently selected.

AllowCollapseAll

Gets or sets a value that determines whether users should be allowed to collapse all the items.

AllowExpandMany

Gets or sets a value that determines whether users should be allowed to expand multiple pages at a time.

AutoSizeElement

Do not use this property.

BackColor

Gets or sets control back color.

BorderStyle

Do not use this property.

DefaultSize
ExpandDirection

Gets or sets a value indicating where the content area of an expanded C1AccordionPage is displayed in relation to its header.

Font

Do not use this property.

ForeColor

Do not use this property.

IsRtlScrollingSupported
Margin

Do not use this property.

Orientation

Gets a C1AccordionPage's headers stack orientation.

Padding

Do not use this property.

PageSettings

Gets common displaying properties for all AccordionPages.

Pages

Gets collection of C1AccordionPage.

ScrollBarVisibility

Gets or sets a value that specifies the visibility of a ScrollBar for C1Accordion content.

ScrollBars
ShowToolTips

Gets or sets a value that determines whether the C1Accordion should display a tooltip for page header when ToolTipText is defined for this page.

Styles

Gets AccordionStyles C1Accordion styles.

Text

Methods

Name Description
ApplyStyle(BaseThemeProvider, bool)

Applies styles to Accordion control.

BeginInit()
CollapseAll(int)

Collapses all Accordion pages (instead one if collapsing all pages is not allowed).

CollapseAt(int)

Collapses Accordion page in a specified index.

Dispose(bool)
EndInit()
ExpandAll()

Expands all Accordion pages if it allowed.

ExpandAt(int)

Expands Accordion page in a specified index.

GetPreferredSize(Size)
IsInputKey(Keys)
OnActivePageChanged(ActivePageChangedEventArgs)

Raises the ActivePageChanged event.

OnEnabledChanged(EventArgs)
OnExpandDirectionChanged(ExpandDirectionChangedEventArgs)

Raises the ExpandDirectionChanged event.

OnExpandDirectionChanging(ExpandDirectionChangingEventArgs)

Raises the ExpandDirectionChanging event.

OnKeyDown(KeyEventArgs)
OnLeave(EventArgs)
OnPageClosedChanged(PageIsClosedChangedEventArgs)

Raises the PageIsClosedChanged event.

OnPageExpandStateChanged(PageExpandStateChangedEventArgs)

Raises the PageExpandStateChanged event.

OnPageExpandStateChanging(PageExpandStateChangingEventArgs)

Raises the PageExpandStateChanging event.

OnPageHeaderClick(PageHeaderClickEventArgs)

Raises the PageHeaderClick event.

OnPaint(PaintEventArgs)
OnRightToLeftChanged(EventArgs)
OnScroll(ScrollBars)
PageSettings_PropertyChanged(object, PropertyChangedEventArgs)

qqqq

ProcessKeyPreview(ref Message)
ResetPageSettings()

Restores the default value of the PageSettings property.

SetBoundsCore(int, int, int, int, BoundsSpecified)
ShouldSerializePageSettings()

Specifies whether to save the value of the PageSettings property.

WndProc(ref Message)

Events

Name Description
ActivePageChanged

Occurs when the ActivePage property changed.

ExpandDirectionChanged

Occurs when the ExpandDirection property changed.

ExpandDirectionChanging

Occurs when the ExpandDirection property is changing.

PageExpandStateChanged

Occurs when one of Pages IsExpanded property changed.

PageExpandStateChanging

Occurs when one of Pages IsExpanded property is about to be changed.

PageHeaderClick

Occurs when an C1AccordionPage header is clicked.

PageIsClosedChanged

Occurs when the IsClosed property of one of the Pages has changed.