Back to Devexpress

SimpleButton.PressedBorderColor Property

mobilecontrols-devexpress-dot-xamarinforms-dot-editors-dot-simplebutton-e1d97d0e.md

latest1.9 KB
Original Source

SimpleButton.PressedBorderColor Property

Specifies the border color of the button in a pressed state.

Namespace : DevExpress.XamarinForms.Editors

Assembly : DevExpress.XamarinForms.Editors.dll

NuGet Package : DevExpress.XamarinForms.Editors

Declaration

csharp
public Color PressedBorderColor { get; set; }

Property Value

TypeDescription
Color

The border color of the button in a pressed state.

|

Example

This example shows how to customize button appearance and handle the button click event.

|

Button State

|

Default Appearance

|

Custom Appearance

| | --- | --- | --- | |

Default

|

|

| |

Pressed

|

|

| |

Disabled

|

|

|

  1. Add the delete.png icon file to your platform-specific projects:

  2. Use the following properties to adjust the button’s appearance and handle the Clicked event to clear label1 on button tap:

See Also

SimpleButton Class

SimpleButton Members

DevExpress.XamarinForms.Editors Namespace