[]
        
(Showing Draft Content)

C1.Win.C1Command.C1TopicBar

C1TopicBar Class

Represents a collection of links or commands organized into various groups, mimicking the navigation bar seen in Windows XP.

Namespace: C1.Win.C1Command
Assembly: C1.Win.C1Command.4.8.dll
Syntax
[ToolboxBitmap(typeof(C1TopicBar), "C1TopicBar.png")]
[C1Description("C1TopicBar", "Represents a collection of links or commands organized into various groups.")]
public class C1TopicBar : ScrollableControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, ISupportInitialize

Constructors

Name Description
C1TopicBar()

Initializes a new instance of the C1TopicBar class.

C1TopicBar(ImageList)

Initializes a new instance of the C1TopicBar class

Properties

Name Description
Align

Gets or sets the alignment of the topicbar pages caption.

Animation

Gets or sets the value indicating whether to use animation when collapsing/expanding pages.

DefaultPadding
DefaultSize
ImageList

Gets or sets the ImageList that contains the images shown on page title bars.

LinkStyle

Gets the style of the links on pages.

PageOffset

Gets or sets the space between pages.

PagePadding

Gets or sets the padding between a page border and a link.

PageStyle

Gets the style of the pages.

Pages

Gets the collection of topic bar pages.

ShowFocus

Gets or sets a value indicating whether pages and links should display focus rectangles.

ShowFocusCues
ShowInvisibleItems

Gets or sets the value indicating whether invisible pages and links are shown at design time.

ShowToolTips

Gets or sets a value indicating whether tool tip is shown when the mouse is over the page title bar.

VisualStyle

Gets or sets the visual style of the control.

Methods

Name Description
BeginInit()
CollapseAll()

Collapses the all pages

CreateAccessibilityInstance()
CreateControlsInstance()
Dispose(bool)
EndInit()
ExpandAll()

Expands the all pages

Returns the first link with the specified text, or null if such a link does not exist.

FindLinkByTag(object)

Returns the first link with the specified value, or null if such a page does not exist.

FindPage(string)

Returns the first page with the specified text, or null if such a page does not exist.

FindPageByTag(object)

Returns the first page with the specified value, or null if such a page does not exist.

FindPageIndex(string)

Returns index of the first page with the specified text, or -1 if such a page does not exist.

HitTest()

Returns information about the control at at the current mouse position.

HitTest(Point)

Returns information about the control at a specified point on the control surface.

HitTest(int, int)

Returns information about the control at a specified point on the control surface.

IC1GetAmbientRootSource(string)

Get active holder of current VisualStyle.

OnBackColorChanged(EventArgs)
OnBackgroundImageChanged(EventArgs)
OnCursorChanged(EventArgs)
OnFontChanged(EventArgs)
OnForeColorChanged(EventArgs)
OnGotFocus(EventArgs)
OnLinkClick(C1TopicBarClickEventArgs)

Raises the LinkClick event.

OnLinkStyleChanged(EventArgs)

Raises the LinkStyleChanged event.

OnLostFocus(EventArgs)
OnMouseDown(MouseEventArgs)
OnMouseEnter(EventArgs)
OnMouseLeave(EventArgs)
OnMouseMove(MouseEventArgs)
OnMouseUp(MouseEventArgs)
OnMouseWheel(MouseEventArgs)
OnPaddingChanged(EventArgs)
OnPageCollapsed(C1TopicBarPageEventArgs)

Raises the PageCollapsed event.

OnPageExpanded(C1TopicBarPageEventArgs)

Raises the PageExpanded event.

OnPageStyleChanged(EventArgs)

Raises the PageStyleChanged event.

OnPaint(PaintEventArgs)
OnPaintBackground(PaintEventArgs)
OnResize(EventArgs)
OnRightToLeftChanged(EventArgs)
OnScroll(ScrollEventArgs)
OnVisualStyleChanged(EventArgs)

Invokes the VisualStyleChanged event.

ProcessCmdKey(ref Message, Keys)
ResetLinkStyle()

Resets the LinkStyle property to its default value.

ResetPageStyle()

Resets the PageStyle property to its default value.

ResetVisualStyle()

Restore the VisualStyle property to its default value.

ShouldSerializeLinkStyle()

Indicates whether the LinkStyle has a default value.

ShouldSerializePageStyle()

Indicates whether the PageStyle has a default value.

ShouldSerializeVisualStyle()

Indicates whether the VisualStyle has a default value.

ShouldSerializeVisualStyleBase()

Indicates whether the C1.Win.C1Command.C1TopicBar.VisualStyleBase has a default value.

WndProc(ref Message)

Events

Name Description
LinkClick

Occurs when a link on this topic bar is clicked.

LinkStyleChanged

Occurs when the LinkStyle property has changed.

PageCollapsed

Occurs when a page is collapsed.

PageExpanded

Occurs when a page is expanded.

PageStyleChanged

Occurs when the PageStyle property has changed.

VisualStyleChanged

Occurs when the VisualStyle property has changed.