Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
BitmapIcon.ShowAsMonochrome Property
Definition
- Namespace:
- Microsoft.UI.Xaml.Controls
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the bitmap is shown in a single color.
public:
property bool ShowAsMonochrome { bool get(); void set(bool value); };
bool ShowAsMonochrome();
void ShowAsMonochrome(bool value);
public bool ShowAsMonochrome { get; set; }
var boolean = bitmapIcon.showAsMonochrome;
bitmapIcon.showAsMonochrome = boolean;
Public Property ShowAsMonochrome As Boolean
<BitmapIcon ShowAsMonochrome="bool"/>
Property Value
Boolean
bool
true to show the bitmap in a single color; false to show the bitmap in full color. The default is true.
Applies to
Feedback
Was this page helpful?
