RibbonMenuButton.LargeImageSource Property
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 image that is displayed on the control when the image size is set to Large.
public:
property System::Windows::Media::ImageSource ^ LargeImageSource { System::Windows::Media::ImageSource ^ get(); void set(System::Windows::Media::ImageSource ^ value); };
public System.Windows.Media.ImageSource LargeImageSource { get; set; }
member this.LargeImageSource : System.Windows.Media.ImageSource with get, set
Public Property LargeImageSource As ImageSource
The image to display on the control. The registered default is null
. For more information about what can influence the value, see Dependency Property Value Precedence.
The following example shows the markup to create a menu button with three available items.
<ribbon:RibbonMenuButton Label="Color 1"
SmallImageSource="Images/RightArrowShort_Green16.png"
LargeImageSource="Images/RightArrowShort_Green32.png" >
<ribbon:RibbonGallery SelectedValue="Green"
SelectedValuePath="Content"
MaxColumnCount="1">
<ribbon:RibbonGalleryCategory>
<ribbon:RibbonGalleryItem Content="Green" Foreground="Green" />
<ribbon:RibbonGalleryItem Content="Blue" Foreground="Blue" />
<ribbon:RibbonGalleryItem Content="Orange" Foreground="Orange" />
</ribbon:RibbonGalleryCategory>
</ribbon:RibbonGallery>
</ribbon:RibbonMenuButton>
Set the ImageSize property on the ControlSizeDefinition to control the visibility of the LargeImageSource.
Item | Value |
---|---|
Identifier field | LargeImageSourceProperty |
Metadata properties set to true |
None |
Производ | Верзије |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
.NET повратне информације
.NET је пројекат отвореног кода. Изаберите везу да бисте обезбедили повратне информације: