BitmapIcon.ShowAsMonochrome BitmapIcon.ShowAsMonochrome BitmapIcon.ShowAsMonochrome BitmapIcon.ShowAsMonochrome Property

Definition

Gets or sets a value that indicates whether the bitmap is shown in a single color.

public : Platform::Boolean ShowAsMonochrome { get; set; }
bool ShowAsMonochrome();

void ShowAsMonochrome(bool showasmonochrome);
public bool ShowAsMonochrome { get; set; }
Public ReadWrite Property ShowAsMonochrome As bool
<BitmapIcon ShowAsMonochrome="bool"/>

Property Value

bool bool

true to show the bitmap in a single color; false to show the bitmap in full color. The default is true.

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)