語言

RibbonToggleButton.LargeImageSource 屬性

定義

當影像大小設為 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

屬性值

要顯示在控制器上的影像。 註冊預設為 null。 欲了解更多影響價值的因素,請參閱 「相依物業價值優先順序」。

範例

以下範例說明如何設定 LargeImageSource 屬性。RibbonToggleButton

<ribbon:RibbonToggleButton Label="Reminder"
                      Command="{Binding ReminderCommand}"
                      SmallImageSource="Images/Reminder16.png" 
                      LargeImageSource="Images/Reminder32.png"
                      KeyTip="R"/>

備註

將屬性設 ImageSize 在 ControlSizeDefinition 上,以控制 的 LargeImageSource可見性。

相依財產資訊

Item 價值觀
識別碼欄位 LargeImageSourceProperty
元資料屬性設為 true None

適用於

另請參閱