InkCanvas.Background Property
Definition
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.
public:
property System::Windows::Media::Brush ^ Background { System::Windows::Media::Brush ^ get(); void set(System::Windows::Media::Brush ^ value); };
[System.ComponentModel.Bindable(true)]
public System.Windows.Media.Brush Background { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Background : System.Windows.Media.Brush with get, set
Public Property Background As Brush
Property Value
A Brush used to fill the border area surrounding a InkCanvas.
- Attributes
Examples
The following example demonstrates how to set the Background property on an InkCanvas.
inkCanvas1.Background = Brushes.LightGreen;
inkCanvas1.Background = Brushes.LightGreen
Remarks
Dependency Property Information
Identifier field | BackgroundProperty |
Metadata properties set to true |
AffectsRender, SubPropertiesDoNotAffectRender |
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.