CalendarView.BlackoutForeground Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mendapatkan atau mengatur kuas yang menyediakan latar depan tanggal yang tidak dapat dipilih.
public:
property Brush ^ BlackoutForeground { Brush ^ get(); void set(Brush ^ value); };
Brush BlackoutForeground();
void BlackoutForeground(Brush value);
public Brush BlackoutForeground { get; set; }
var brush = calendarView.blackoutForeground;
calendarView.blackoutForeground = brush;
Public Property BlackoutForeground As Brush
<CalendarView BlackoutForeground="{StaticResource resourceName}"/>
- or -
<CalendarView BlackoutForeground="colorString"/>
- or -
<CalendarView>
CalendarView.BlackoutForeground>singleBrush</CalendarView.BlackoutForeground>
</CalendarView>
Nilai Properti
Kuas yang menyediakan latar depan tanggal yang tidak dapat dipilih.
Keterangan
Untuk menandai tanggal sebagai tidak dapat dipilih, atur properti CalendarViewDayItem.IsBlackout ke true
. Untuk informasi selengkapnya, lihat Memperbarui item hari kalender.