C# 클래스 Fluent.RibbonAttachedProperties

Attached Properties for the Fluent Ribbon library
파일 보기 프로젝트 열기: Gainedge/BetterExplorer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
RibbonSizeDefinitionProperty System.Windows.DependencyProperty
RibbonSizeProperty System.Windows.DependencyProperty
TitleBarHeightProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
GetRibbonSize ( DependencyObject element ) : RibbonControlSize

Gets SizeDefinition for element

GetRibbonSizeDefinition ( DependencyObject element ) : string

Gets SizeDefinition for element

GetThreeRibbonSizeDefinition ( DependencyObject element ) : RibbonControlSize[]

Gets value of the attached property SizeDefinition of the given element

GetTitleBarHeight ( UIElement element ) : double
SetAppropriateSize ( DependencyObject element, RibbonGroupBoxState state ) : void

Sets appropriate size of the control according to the given group box state and control's size definition

SetRibbonSize ( DependencyObject element, RibbonControlSize value ) : void

Sets SizeDefinition for element

SetRibbonSizeDefinition ( DependencyObject element, string value ) : void

Sets SizeDefinition for element

SetTitleBarHeight ( UIElement element, double value ) : void

비공개 메소드들

메소드 설명
FindParentRibbonGroupBox ( DependencyObject o ) : RibbonGroupBox
OnRibbonSizeDefinitionPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnRibbonSizePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

메소드 상세

GetRibbonSize() 공개 정적인 메소드

Gets SizeDefinition for element
public static GetRibbonSize ( DependencyObject element ) : RibbonControlSize
element System.Windows.DependencyObject
리턴 RibbonControlSize

GetRibbonSizeDefinition() 공개 정적인 메소드

Gets SizeDefinition for element
public static GetRibbonSizeDefinition ( DependencyObject element ) : string
element System.Windows.DependencyObject
리턴 string

GetThreeRibbonSizeDefinition() 공개 정적인 메소드

Gets value of the attached property SizeDefinition of the given element
public static GetThreeRibbonSizeDefinition ( DependencyObject element ) : RibbonControlSize[]
element System.Windows.DependencyObject The given element
리턴 RibbonControlSize[]

GetTitleBarHeight() 공개 정적인 메소드

public static GetTitleBarHeight ( UIElement element ) : double
element System.Windows.UIElement
리턴 double

SetAppropriateSize() 공개 정적인 메소드

Sets appropriate size of the control according to the given group box state and control's size definition
public static SetAppropriateSize ( DependencyObject element, RibbonGroupBoxState state ) : void
element System.Windows.DependencyObject UI Element
state RibbonGroupBoxState Group box state
리턴 void

SetRibbonSize() 공개 정적인 메소드

Sets SizeDefinition for element
public static SetRibbonSize ( DependencyObject element, RibbonControlSize value ) : void
element System.Windows.DependencyObject
value RibbonControlSize
리턴 void

SetRibbonSizeDefinition() 공개 정적인 메소드

Sets SizeDefinition for element
public static SetRibbonSizeDefinition ( DependencyObject element, string value ) : void
element System.Windows.DependencyObject
value string
리턴 void

SetTitleBarHeight() 공개 정적인 메소드

public static SetTitleBarHeight ( UIElement element, double value ) : void
element System.Windows.UIElement
value double
리턴 void

프로퍼티 상세

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

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

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

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

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

public static DependencyProperty,System.Windows TitleBarHeightProperty
리턴 System.Windows.DependencyProperty