Szerkesztés

Megosztás a következőn keresztül:


ButtonChrome.RenderDefaulted Property

Definition

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

Identifier field RenderDefaultedProperty
Metadata properties set to true AffectsRender (however, this property might not be set in all themes)

Applies to