RibbonControlService.DefaultControlSizeDefinition Attached Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the default RibbonControlSizeDefinition for this control.
see GetDefaultControlSizeDefinition, and SetDefaultControlSizeDefinition
see GetDefaultControlSizeDefinition, and SetDefaultControlSizeDefinition
see GetDefaultControlSizeDefinition, and SetDefaultControlSizeDefinition
Remarks
A RibbonControlSizeDefinition contains properties that specify size and visibility information for the image and label associated with a control. If the ControlSizeDefinition property is not set for a ribbon control, the DefaultControlSizeDefinition property is used instead. The default control size definition is based on the control's property settings. If a LargeImageSource is specified, it is the default. If LargeImageSource is null
, and a SmallImageSource is specified, the SmallImageSource is the default. If both the LargeImageSource and SmallImageSource are null
, the image is set to Collapsed by default. If the Label property is null or empty, it is hidden by default.
Dependency Property Information
Identifier field | DefaultControlSizeDefinitionProperty |
Metadata properties set to true |
None |
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για