C# 클래스 Fluent.RibbonToolBar

상속: RibbonControl, IRibbonSizeChangedSink
파일 보기 프로젝트 열기: Gainedge/BetterExplorer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
SeparatorStyleProperty System.Windows.DependencyProperty

Private Properties

프로퍼티 타입 설명
CustomLayout System.Windows.Size
GetControl System.Windows.FrameworkElement
GetControlGroup Fluent.RibbonToolBarControlGroup
GetCurrentLayoutDefinition RibbonToolBarLayoutDefinition
GetRowHeight double
OnChildrenCollectionChanged void
OnCoerceStyle object
OnLayoutDefinitionsChanged void
OnSeparatorStyleChanged void
RibbonToolBar System
WrapPanelLayuot System.Windows.Size

공개 메소드들

메소드 설명
CreateQuickAccessItem ( ) : FrameworkElement

Gets control which represents shortcut item. This item MUST be syncronized with the original and send command to original one control.

OnSizePropertyChanged ( RibbonControlSize previous, RibbonControlSize current ) : void

Handles size property changing

보호된 메소드들

메소드 설명
ArrangeOverride ( Size finalSize ) : Size

When overridden in a derived class, positions child elements and determines a size for a System.Windows.FrameworkElement derived class.

GetVisualChild ( int index ) : Visual

Overrides System.Windows.Media.Visual.GetVisualChild(System.Int32), and returns a child at the specified index from a collection of child elements.

MeasureOverride ( Size availableSize ) : Size

Measures all of the RibbonGroupBox, and resize them appropriately to fit within the available room

비공개 메소드들

메소드 설명
CustomLayout ( RibbonToolBarLayoutDefinition layoutDefinition, Size availableSize, bool measure, bool addchildren ) : Size

Layout logic for the given layout definition

GetControl ( RibbonToolBarControlDefinition controlDefinition ) : FrameworkElement
GetControlGroup ( Fluent.RibbonToolBarControlGroupDefinition controlGroupDefinition ) : Fluent.RibbonToolBarControlGroup
GetCurrentLayoutDefinition ( ) : RibbonToolBarLayoutDefinition

Gets current used layout definition (or null if no present definitions)

GetRowHeight ( RibbonToolBarLayoutDefinition layoutDefinition ) : double
OnChildrenCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
OnCoerceStyle ( DependencyObject d, object basevalue ) : object
OnLayoutDefinitionsChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
OnSeparatorStyleChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
RibbonToolBar ( ) : System
WrapPanelLayuot ( Size availableSize, bool measure ) : Size

Unified method for wrap panel logic

메소드 상세

ArrangeOverride() 보호된 메소드

When overridden in a derived class, positions child elements and determines a size for a System.Windows.FrameworkElement derived class.
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.
리턴 System.Windows.Size

CreateQuickAccessItem() 공개 메소드

Gets control which represents shortcut item. This item MUST be syncronized with the original and send command to original one control.
public CreateQuickAccessItem ( ) : FrameworkElement
리턴 System.Windows.FrameworkElement

GetVisualChild() 보호된 메소드

Overrides System.Windows.Media.Visual.GetVisualChild(System.Int32), and returns a child at the specified index from a collection of child elements.
protected GetVisualChild ( int index ) : Visual
index int The zero-based index of the requested /// child element in the collection
리턴 Visual

MeasureOverride() 보호된 메소드

Measures all of the RibbonGroupBox, and resize them appropriately to fit within the available room
protected MeasureOverride ( Size availableSize ) : Size
availableSize System.Windows.Size The available size that /// this element can give to child elements.
리턴 System.Windows.Size

OnSizePropertyChanged() 공개 메소드

Handles size property changing
public OnSizePropertyChanged ( RibbonControlSize previous, RibbonControlSize current ) : void
previous RibbonControlSize Previous value
current RibbonControlSize Current value
리턴 void

프로퍼티 상세

SeparatorStyleProperty 공개적으로 정적으로 프로퍼티

Using a DependencyProperty as the backing store for SeparatorStyle. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows SeparatorStyleProperty
리턴 System.Windows.DependencyProperty