SimpleButton Class

Serves as a base for classes that represent button controls.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v19.2.dll

Declaration

public class SimpleButton :
    Button
Public Class SimpleButton
    Inherits Button

Remarks

The following code snippet adds the SimpleBitton with the custom size, glyph, and font size.

<dx:SimpleButton Glyph="{dx:DXImage Image=Close_16x16.png}" Width="150" Height="40">
    <dx:SimpleButton.Content>
        <Grid>
            <TextBlock TextAlignment="Center" VerticalAlignment="Center" FontSize="30">Remove</TextBlock>
        </Grid>
    </dx:SimpleButton.Content>
</dx:SimpleButton>

Simple Button

Refer to the SimpleButton topic for more information.

See Also