Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.75 KB

calendarview_outofscopeforeground.md

File metadata and controls

43 lines (31 loc) · 1.75 KB
-api-id -api-type
P:Windows.UI.Xaml.Controls.CalendarView.OutOfScopeForeground
winrt property

Windows.UI.Xaml.Controls.CalendarView.OutOfScopeForeground

-description

Gets or sets a brush that provides the foreground of calendar items that are outside the current scope (month, year, or decade).

-xaml-syntax

<CalendarView OutOfScopeForeground="{StaticResource resourceName}"/>
- or -
<CalendarView OutOfScopeForeground="colorString"/>
- or -
<CalendarView>
  CalendarView.OutOfScopeForeground>singleBrush</CalendarView.OutOfScopeForeground>
</CalendarView>

-xaml-values

resourceName
resourceNameThe resource name (x:Key attribute value) of an existing XAML resource that defines a brush. This is the recommended way to specify Brush values in XAML if you have any intention of using the same colors or brushes in more than one part of your UI. See Remarks in Brush or ResourceDictionary and XAML resource references.
colorString
colorStringThe Color for a SolidColorBrush expressed as an attribute string. This can be a named color, an RGB value, or an ScRGB value. RGB or ScRGB may also specify alpha information. See the XAML Values section in Color.
singleBrush
singleBrushWithin opening and closing property elements, exactly one object element for an object that derives from Brush. This is typically one of the following classes: LinearGradientBrush, ImageBrush, SolidColorBrush.
## -property-value A brush that provides the foreground of calendar items that are outside the current scope.

-remarks

-examples

-see-also

IsOutOfScopeEnabled