Bagikan melalui


CalendarView.BlackoutForeground Properti

Definisi

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.

Berlaku untuk

Lihat juga