C# Class Fluent.RibbonTabsContainer

Represent panel with ribbon tab items. It is automatically adjusting size of tabs
Inheritance: System.Windows.Controls.Panel, IScrollInfo
Datei anzeigen Open project: Gainedge/BetterExplorer

Private Properties

Property Type Description
CoerceOffset double
ComputeScrollOffsetWithMinimalScroll double
GetChildrenDesiredSize System.Windows.Size
MeasureChildrenDesiredSize System.Windows.Size
MeasureOverride System.Windows.Size
UpdateSeparators void
ValidateInputOffset double
VerifyScrollData void

Public Methods

Method Description
LineDown ( ) : void

Not implemented

LineLeft ( ) : void

Scrolls left within content by one logical unit.

LineRight ( ) : void

Scrolls right within content by one logical unit.

LineUp ( ) : void

Not implemented

MakeVisible ( Visual visual, Rect rectangle ) : Rect

Forces content to scroll until the coordinate space of a System.Windows.Media.Visual object is visible. This is optimized for horizontal scrolling only

MouseWheelDown ( ) : void

Not implemented

MouseWheelLeft ( ) : void

Not implemented

MouseWheelRight ( ) : void

Not implemented

MouseWheelUp ( ) : void

Not implemented

PageDown ( ) : void

Not implemented

PageLeft ( ) : void

Not implemented

PageRight ( ) : void

Not implemented

PageUp ( ) : void

Not implemented

RibbonTabsContainer ( ) : System

Default constructor

SetHorizontalOffset ( double offset ) : void

Sets the amount of horizontal offset.

SetVerticalOffset ( double offset ) : void

Not implemented

Protected Methods

Method Description
ArrangeOverride ( Size finalSize ) : Size

Positions child elements and determines a size for the control

Private Methods

Method Description
CoerceOffset ( double offset, double extent, double viewport ) : double
ComputeScrollOffsetWithMinimalScroll ( double topView, double bottomView, double topChild, double bottomChild ) : double
GetChildrenDesiredSize ( ) : Size
MeasureChildrenDesiredSize ( Size availableSize ) : Size
MeasureOverride ( Size availableSize ) : Size
UpdateSeparators ( bool regularTabs, bool contextualTabs ) : void

Updates separator visibility

ValidateInputOffset ( double offset, string parameterName ) : double
VerifyScrollData ( double viewportWidth, double extentWidth ) : void

Method Details

ArrangeOverride() protected method

Positions child elements and determines a size for the control
protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size The final area within the parent /// that this element should use to arrange /// itself and its children
return System.Windows.Size

LineDown() public method

Not implemented
public LineDown ( ) : void
return void

LineLeft() public method

Scrolls left within content by one logical unit.
public LineLeft ( ) : void
return void

LineRight() public method

Scrolls right within content by one logical unit.
public LineRight ( ) : void
return void

LineUp() public method

Not implemented
public LineUp ( ) : void
return void

MakeVisible() public method

Forces content to scroll until the coordinate space of a System.Windows.Media.Visual object is visible. This is optimized for horizontal scrolling only
public MakeVisible ( Visual visual, Rect rectangle ) : Rect
visual Visual A System.Windows.Media.Visual that becomes visible.
rectangle System.Windows.Rect A bounding rectangle that identifies the coordinate space to make visible.
return System.Windows.Rect

MouseWheelDown() public method

Not implemented
public MouseWheelDown ( ) : void
return void

MouseWheelLeft() public method

Not implemented
public MouseWheelLeft ( ) : void
return void

MouseWheelRight() public method

Not implemented
public MouseWheelRight ( ) : void
return void

MouseWheelUp() public method

Not implemented
public MouseWheelUp ( ) : void
return void

PageDown() public method

Not implemented
public PageDown ( ) : void
return void

PageLeft() public method

Not implemented
public PageLeft ( ) : void
return void

PageRight() public method

Not implemented
public PageRight ( ) : void
return void

PageUp() public method

Not implemented
public PageUp ( ) : void
return void

RibbonTabsContainer() public method

Default constructor
public RibbonTabsContainer ( ) : System
return System

SetHorizontalOffset() public method

Sets the amount of horizontal offset.
public SetHorizontalOffset ( double offset ) : void
offset double The degree to which content is horizontally offset from the containing viewport.
return void

SetVerticalOffset() public method

Not implemented
public SetVerticalOffset ( double offset ) : void
offset double
return void