ButtonChrome.RenderDefaulted 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.
Gets or sets a value indicating whether the Button has the appearance of the default button on the form.
public:
property bool RenderDefaulted { bool get(); void set(bool value); };
public bool RenderDefaulted { get; set; }
member this.RenderDefaulted : bool with get, set
Public Property RenderDefaulted As Boolean
Property Value
true
if the Button has the appearance of the default button; otherwise false
.
Remarks
The default button generally has a darker outer border or other visual indicator that shows the user which button will be clicked if the Enter key is pressed.
Dependency Property Information
Item | Value |
---|---|
Identifier field | RenderDefaultedProperty |
Metadata properties set to true |
AffectsRender (however, this property might not be set in all themes) |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.