Bagikan melalui


RibbonToggleButton.LargeImageSource Properti

Definisi

Mendapatkan atau mengatur gambar yang ditampilkan pada kontrol saat ukuran gambar diatur ke 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

Nilai Properti

Gambar yang akan ditampilkan pada kontrol. Default terdaftar adalah null. Untuk informasi selengkapnya tentang apa yang dapat memengaruhi nilai, lihat Prioritas Nilai Properti Dependensi.

Contoh

Contoh berikut menunjukkan cara mengatur LargeImageSource properti untuk RibbonToggleButton.

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

Keterangan

Atur ImageSize properti pada ControlSizeDefinition untuk mengontrol visibilitas LargeImageSource.

Informasi Properti Dependensi

Item Nilai
Bidang pengidentifikasi LargeImageSourceProperty
Properti metadata diatur ke true Tidak

Berlaku untuk

Lihat juga