C# Class Microsoft.Windows.Controls.Ribbon.RibbonGalleryCategory

Inheritance: System.Windows.Controls.HeaderedItemsControl, IWeakEventListener
Afficher le fichier Open project: kasicass/kasicass Class Usage Examples

Méthodes publiques

Свойство Type Description
ColumnsStretchToFillProperty System.Windows.DependencyProperty
HeaderVisibilityProperty System.Windows.DependencyProperty
IsSharedColumnSizeScopeProperty System.Windows.DependencyProperty
MaxColumnCountProperty System.Windows.DependencyProperty
MinColumnCountProperty System.Windows.DependencyProperty

Private Properties

Свойство Type Description
AddCurrentItemChangedListener void
CoerceItemContainerStyle object
CoerceItemTemplate object
CoerceMaxColumnCount object
CoerceMinColumnCount object
IWeakEventListener bool
NotifyPropertyChanged void
OnCurrentItemChanged void
OnItemContainerGeneratorStatusChanged void
OnNotifyPropertyChanged void
RemoveCurrentItemChangedListener void
RibbonGalleryCategory System
SyncProperties void
SynchronizeWithCurrentItem void

Méthodes publiques

Méthode Description
OnApplyTemplate ( ) : void

Méthodes protégées

Méthode Description
ClearContainerForItemOverride ( DependencyObject element, object item ) : void

Called when the container is being detached from the parent ItemsControl

GetContainerForItemOverride ( ) : DependencyObject
IsItemItsOwnContainerOverride ( object item ) : bool
OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer
OnInitialized ( EventArgs e ) : void
OnItemsChanged ( NotifyCollectionChangedEventArgs e ) : void

This method is invoked when the Items property changes.

OnItemsSourceChanged ( IEnumerable oldValue, IEnumerable newValue ) : void
PrepareContainerForItemOverride ( DependencyObject element, object item ) : void

Called when the container is being attached to the parent ItemsControl

Private Methods

Méthode Description
AddCurrentItemChangedListener ( ) : void
CoerceItemContainerStyle ( DependencyObject d, object baseValue ) : object
CoerceItemTemplate ( DependencyObject d, object baseValue ) : object
CoerceMaxColumnCount ( DependencyObject d, object baseValue ) : object
CoerceMinColumnCount ( DependencyObject d, object baseValue ) : object
IWeakEventListener ( Type managerType, object sender, EventArgs e ) : bool
NotifyPropertyChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnCurrentItemChanged ( ) : void
OnItemContainerGeneratorStatusChanged ( object sender, EventArgs e ) : void
OnNotifyPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
RemoveCurrentItemChangedListener ( ) : void
RibbonGalleryCategory ( ) : System

Initializes static members of the RibbonGalleryCategory class.

SyncProperties ( ) : void
SynchronizeWithCurrentItem ( ) : void

Method Details

ClearContainerForItemOverride() protected méthode

Called when the container is being detached from the parent ItemsControl
protected ClearContainerForItemOverride ( DependencyObject element, object item ) : void
element System.Windows.DependencyObject
item object
Résultat void

GetContainerForItemOverride() protected méthode

protected GetContainerForItemOverride ( ) : DependencyObject
Résultat System.Windows.DependencyObject

IsItemItsOwnContainerOverride() protected méthode

protected IsItemItsOwnContainerOverride ( object item ) : bool
item object
Résultat bool

OnApplyTemplate() public méthode

public OnApplyTemplate ( ) : void
Résultat void

OnCreateAutomationPeer() protected méthode

protected OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer
Résultat System.Windows.Automation.Peers.AutomationPeer

OnInitialized() protected méthode

protected OnInitialized ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnItemsChanged() protected méthode

This method is invoked when the Items property changes.
protected OnItemsChanged ( NotifyCollectionChangedEventArgs e ) : void
e System.Collections.Specialized.NotifyCollectionChangedEventArgs
Résultat void

OnItemsSourceChanged() protected méthode

protected OnItemsSourceChanged ( IEnumerable oldValue, IEnumerable newValue ) : void
oldValue IEnumerable
newValue IEnumerable
Résultat void

PrepareContainerForItemOverride() protected méthode

Called when the container is being attached to the parent ItemsControl
protected PrepareContainerForItemOverride ( DependencyObject element, object item ) : void
element System.Windows.DependencyObject
item object
Résultat void

Property Details

ColumnsStretchToFillProperty public_oe static_oe property

public static DependencyProperty,System.Windows ColumnsStretchToFillProperty
Résultat System.Windows.DependencyProperty

HeaderVisibilityProperty public_oe static_oe property

Indicates whether this RibbonGalleryCategory's header visibility state.
public static DependencyProperty,System.Windows HeaderVisibilityProperty
Résultat System.Windows.DependencyProperty

IsSharedColumnSizeScopeProperty public_oe static_oe property

IsSharedColumnSizeScope: defined on RibbonGallery. RibbonGalleryCategory adds itself owner to it. It's a BooleanProperty where True means that I(the control on which property is set) am the Scope for Uniform layout of items. Truth Table for this could be defined by: (gallery.IsSharedColumnScope && !category.ISSharedColumnScope)? Gallery Scope : Category Scope Default Scope must result as Gallery scope hence default value on Gallery is True and on Category it's false.
public static DependencyProperty,System.Windows IsSharedColumnSizeScopeProperty
Résultat System.Windows.DependencyProperty

MaxColumnCountProperty public_oe static_oe property

MaxColumnCount is the property defined on RibbonGallery. RibbonGalleryCategory Adds itself Owner to this property. It's used by RibbonGalleryItemsPanel during Measure/Arrange which is default panel for RibbonGalleryCategory Default is int.MaxValue
public static DependencyProperty,System.Windows MaxColumnCountProperty
Résultat System.Windows.DependencyProperty

MinColumnCountProperty public_oe static_oe property

MinColumnCount is the property defined on RibbonGallery. RibbonGalleryCategory Adds itself Owner to this property. It's used by RibbonGalleryItemsPanel during Measure/Arrange which is default panel for RibbonGalleryCategory Default is 0
public static DependencyProperty,System.Windows MinColumnCountProperty
Résultat System.Windows.DependencyProperty