C# 클래스 Fluent.Ribbon

상속: System.Windows.Controls.Control
파일 보기 프로젝트 열기: Gainedge/BetterExplorer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AddToQuickAccessCommand System.Windows.Input.RoutedCommand
AutomaticStateManagementProperty System.Windows.DependencyProperty
CanCustomizeQuickAccessToolBarProperty System.Windows.DependencyProperty
CanCustomizeRibbonProperty System.Windows.DependencyProperty
CanQuickAccessLocationChangingProperty System.Windows.DependencyProperty
ContentGapHeightProperty System.Windows.DependencyProperty
CustomizeQuickAccessToolbarCommand System.Windows.Input.RoutedCommand
CustomizeTheRibbonCommand System.Windows.Input.RoutedCommand
IsAutomaticCollapseEnabledProperty System.Windows.DependencyProperty
IsCollapsedProperty System.Windows.DependencyProperty
IsMinimizedProperty System.Windows.DependencyProperty
IsQuickAccessToolBarVisibleProperty System.Windows.DependencyProperty
MenuProperty System.Windows.DependencyProperty
RemoveFromQuickAccessCommand System.Windows.Input.RoutedCommand
SelectedTabIndexProperty System.Windows.DependencyProperty
SelectedTabItemProperty System.Windows.DependencyProperty
ShowQuickAccessAboveCommand System.Windows.Input.RoutedCommand
ShowQuickAccessBelowCommand System.Windows.Input.RoutedCommand
ShowQuickAccessToolBarAboveRibbonProperty System.Windows.DependencyProperty
TitleProperty System.Windows.DependencyProperty
ToggleMinimizeTheRibbonCommand System.Windows.Input.RoutedCommand

Private Properties

프로퍼티 타입 설명
AttachToWindow void
CoerceAutoStateManagement object
DetachFromWindow void
FileExists bool
FindParentRibbonControl IRibbonControl
GetAdornerLayer System.Windows.Controls.AdornerLayer
GetFirstVisibleItem RibbonTabItem
GetIsolatedStorageFile IsolatedStorageFile
GetLastVisibleItem RibbonTabItem
InitRibbonContextMenu void
InitialLoadState void
MaintainIsCollapsed void
OnAddToQuickAccessCommandCanExecute void
OnAddToQuickAccessCommandExecuted void
OnApplicationMenuChanged void
OnApplyTemplate void
OnAutoStateManagement void
OnBackstageEscapeKeyDown void
OnCoerceStyle object
OnContextMenuOpened void
OnCustomizeQuickAccessToolbarCommandCanExecute void
OnCustomizeQuickAccessToolbarCommandExecuted void
OnCustomizeTheRibbonCommandCanExecute void
OnCustomizeTheRibbonCommandExecuted void
OnFirstToolbarLoaded void
OnGroupsCollectionChanged void
OnIsCollapsedChanged void
OnIsMinimizedChanged void
OnJustLayoutUpdated void
OnKeyDown void
OnLoaded void
OnOwnerWindowClosed void
OnQuickAccessItemsChanged void
OnQuickAccessItemsCollectionChanged void
OnRemoveFromQuickAccessCommandCanExecute void
OnRemoveFromQuickAccessCommandExecuted void
OnSelectedTabIndexChanged void
OnSelectedTabItemChanged void
OnShowQuickAccesToolBarAboveRibbonChanged void
OnShowQuickAccessAboveCommandExecuted void
OnShowQuickAccessBelowCommandExecuted void
OnSizeChanged void
OnTabControlSelectionChanged void
OnTabsCollectionChanged void
OnTitleChanged void
OnToggleMinimizeTheRibbonCommandCanExecute void
OnToggleMinimizeTheRibbonCommandExecuted void
OnToolbarItemsCollectionChanged void
OnUnloaded void
OnWindowSizeChanged void
ParseAndAddToQuickAccessToolBar void
QuickAccessToolbarRequestCustomize void
Ribbon System
SaveState void
SaveWindowSize void
TraverseLogicalTree void

공개 메소드들

메소드 설명
AddToQuickAccessToolBar ( UIElement element ) : void

Adds the given element to quick access toolbar

ClearQuickAccessToolBar ( ) : void

Clears quick access toolbar

IsInQuickAccessToolBar ( UIElement element ) : bool

Determines whether the given element is in quick access toolbar

LoadState ( ) : void

Loads the State from Isolated Storage (in user store for domain)

LoadState ( System.Stream stream ) : void

Loads state from the given stream

RemoveFromQuickAccessToolBar ( UIElement element ) : void

Removes the given elements from quick access toolbar

ResetState ( ) : void

Resets automatically saved state

SaveState ( System.Stream stream ) : void

Saves state to the given stream

보호된 메소드들

메소드 설명
OnContextMenuClosing ( System.Windows.Controls.ContextMenuEventArgs e ) : void

Invoked whenever an unhandled E:System.Windows.FrameworkElement.ContextMenuClosing routed event reaches this class in its route. Implement this method to add class handling for this event.

OnContextMenuOpening ( System.Windows.Controls.ContextMenuEventArgs e ) : void

Invoked whenever an unhandled E:System.Windows.FrameworkElement.ContextMenuOpening routed event reaches this class in its route. Implement this method to add class handling for this event.

OnGotFocus ( RoutedEventArgs e ) : void

Invoked whenever an unhandled System.Windows.UIElement.GotFocus event reaches this element in its route.

OnItemAddedToQuickAccessToolbar ( UIElementEventArgs e ) : void
OnItemRemovedToQuickAccessToolbar ( UIElementEventArgs e ) : void

비공개 메소드들

메소드 설명
AttachToWindow ( ) : void
CoerceAutoStateManagement ( DependencyObject d, object basevalue ) : object
DetachFromWindow ( ) : void
FileExists ( IsolatedStorageFile storage, string fileName ) : bool
FindParentRibbonControl ( DependencyObject element ) : IRibbonControl
GetAdornerLayer ( UIElement element ) : System.Windows.Controls.AdornerLayer

Get adorner layer for element

GetFirstVisibleItem ( ) : RibbonTabItem
GetIsolatedStorageFile ( ) : IsolatedStorageFile
GetLastVisibleItem ( ) : RibbonTabItem
InitRibbonContextMenu ( ) : void
InitialLoadState ( ) : void
MaintainIsCollapsed ( ) : void
OnAddToQuickAccessCommandCanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
OnAddToQuickAccessCommandExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OnApplicationMenuChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnApplyTemplate ( ) : void
OnAutoStateManagement ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnBackstageEscapeKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
OnCoerceStyle ( DependencyObject d, object basevalue ) : object
OnContextMenuOpened ( object sender, RoutedEventArgs e ) : void
OnCustomizeQuickAccessToolbarCommandCanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
OnCustomizeQuickAccessToolbarCommandExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OnCustomizeTheRibbonCommandCanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
OnCustomizeTheRibbonCommandExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OnFirstToolbarLoaded ( object sender, RoutedEventArgs e ) : void
OnGroupsCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

Handles collection of contextual tab groups ghanges

OnIsCollapsedChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnIsMinimizedChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnJustLayoutUpdated ( object sender, EventArgs e ) : void
OnKeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
OnLoaded ( object sender, RoutedEventArgs e ) : void
OnOwnerWindowClosed ( object sender, EventArgs e ) : void

Called when the ownerWindow is closed, so that we set it to null and clear the TitleProperty

OnQuickAccessItemsChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
OnQuickAccessItemsCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

Handles collection of quick access menu items changes

OnRemoveFromQuickAccessCommandCanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
OnRemoveFromQuickAccessCommandExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OnSelectedTabIndexChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSelectedTabItemChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnShowQuickAccesToolBarAboveRibbonChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles ShowQuickAccessToolBarAboveRibbon property changed

OnShowQuickAccessAboveCommandExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OnShowQuickAccessBelowCommandExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OnSizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
OnTabControlSelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
OnTabsCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

Handles collection of ribbon tabs changed

OnTitleChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnToggleMinimizeTheRibbonCommandCanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
OnToggleMinimizeTheRibbonCommandExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OnToolbarItemsCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void

Handles collection of toolbar items changes

OnUnloaded ( object sender, RoutedEventArgs e ) : void
OnWindowSizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
ParseAndAddToQuickAccessToolBar ( string data ) : void
QuickAccessToolbarRequestCustomize ( object sender, RoutedEventArgs e ) : void
Ribbon ( ) : System
SaveState ( ) : void
SaveWindowSize ( Window wnd ) : void
TraverseLogicalTree ( DependencyObject item, string path, string>.IDictionary paths ) : void

메소드 상세

AddToQuickAccessToolBar() 공개 메소드

Adds the given element to quick access toolbar
public AddToQuickAccessToolBar ( UIElement element ) : void
element UIElement Element
리턴 void

ClearQuickAccessToolBar() 공개 메소드

Clears quick access toolbar
public ClearQuickAccessToolBar ( ) : void
리턴 void

IsInQuickAccessToolBar() 공개 메소드

Determines whether the given element is in quick access toolbar
public IsInQuickAccessToolBar ( UIElement element ) : bool
element UIElement Element
리턴 bool

LoadState() 공개 메소드

Loads the State from Isolated Storage (in user store for domain)
public LoadState ( ) : void
리턴 void

LoadState() 공개 메소드

Loads state from the given stream
public LoadState ( System.Stream stream ) : void
stream System.Stream Stream
리턴 void

OnContextMenuClosing() 보호된 메소드

Invoked whenever an unhandled E:System.Windows.FrameworkElement.ContextMenuClosing routed event reaches this class in its route. Implement this method to add class handling for this event.
protected OnContextMenuClosing ( System.Windows.Controls.ContextMenuEventArgs e ) : void
e System.Windows.Controls.ContextMenuEventArgs Provides data about the event.
리턴 void

OnContextMenuOpening() 보호된 메소드

Invoked whenever an unhandled E:System.Windows.FrameworkElement.ContextMenuOpening routed event reaches this class in its route. Implement this method to add class handling for this event.
protected OnContextMenuOpening ( System.Windows.Controls.ContextMenuEventArgs e ) : void
e System.Windows.Controls.ContextMenuEventArgs The that contains the event data.
리턴 void

OnGotFocus() 보호된 메소드

Invoked whenever an unhandled System.Windows.UIElement.GotFocus event reaches this element in its route.
protected OnGotFocus ( RoutedEventArgs e ) : void
e System.Windows.RoutedEventArgs The System.Windows.RoutedEventArgs that contains the event data.
리턴 void

OnItemAddedToQuickAccessToolbar() 보호된 메소드

protected OnItemAddedToQuickAccessToolbar ( UIElementEventArgs e ) : void
e UIElementEventArgs
리턴 void

OnItemRemovedToQuickAccessToolbar() 보호된 메소드

protected OnItemRemovedToQuickAccessToolbar ( UIElementEventArgs e ) : void
e UIElementEventArgs
리턴 void

RemoveFromQuickAccessToolBar() 공개 메소드

Removes the given elements from quick access toolbar
public RemoveFromQuickAccessToolBar ( UIElement element ) : void
element UIElement Element
리턴 void

ResetState() 공개 정적인 메소드

Resets automatically saved state
public static ResetState ( ) : void
리턴 void

SaveState() 공개 메소드

Saves state to the given stream
public SaveState ( System.Stream stream ) : void
stream System.Stream Stream
리턴 void

프로퍼티 상세

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

Gets add to quick access toolbar command
public static RoutedCommand,System.Windows.Input AddToQuickAccessCommand
리턴 System.Windows.Input.RoutedCommand

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

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

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

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

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

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

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

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

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

DependencyProperty for ContentGapHeight
public static DependencyProperty,System.Windows ContentGapHeightProperty
리턴 System.Windows.DependencyProperty

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

Gets customize quick access toolbar command
public static RoutedCommand,System.Windows.Input CustomizeQuickAccessToolbarCommand
리턴 System.Windows.Input.RoutedCommand

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

Gets customize the ribbon command
public static RoutedCommand,System.Windows.Input CustomizeTheRibbonCommand
리턴 System.Windows.Input.RoutedCommand

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

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

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

DependencyProperty for IsCollapsed
public static DependencyProperty,System.Windows IsCollapsedProperty
리턴 System.Windows.DependencyProperty

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

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

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

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

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

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

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

Gets remove from quick access command
public static RoutedCommand,System.Windows.Input RemoveFromQuickAccessCommand
리턴 System.Windows.Input.RoutedCommand

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

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

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

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

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

Gets show quick access above command
public static RoutedCommand,System.Windows.Input ShowQuickAccessAboveCommand
리턴 System.Windows.Input.RoutedCommand

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

Gets show quick access below command
public static RoutedCommand,System.Windows.Input ShowQuickAccessBelowCommand
리턴 System.Windows.Input.RoutedCommand

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

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

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

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

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

Gets toggle ribbon minimize command
public static RoutedCommand,System.Windows.Input ToggleMinimizeTheRibbonCommand
리턴 System.Windows.Input.RoutedCommand