Hi Dave,
You can override the OnPaint Event of the ButtonAdv Control to keep its appearance in pressed state as shown here,
ButtonAdv will be in pressed state as long as the custom added IsClicked Property is True, So update the IsClicked Property to True or False accordingly on the Buttons Click Event.
if (IsClicked)
{
Color cl1 = Syncfusion.Windows.Forms.Office2007Colors.Default.ButtonPressedTopColor;
Color cl2 = Syncfusion.Windows.Forms.Office2007Colors.Default.ButtonPressedBottomColor;
base.BackColor = Syncfusion.Windows.Forms.Office2007Colors.Default.ButtonPressedTopColor;
Rectangle rc = base.ClientRectangle;
Rectangle rcBrush = new Rectangle(rc.Left, rc.Top, 1, rc.Height);
using (LinearGradientBrush brush = new LinearGradientBrush(rcBrush,cl1,cl2, 90))
{
brush.Blend = m_blButtonPressed;
brush.WrapMode = WrapMode.TileFlipXY;
e.Graphics.FillRectangle(brush, rc);
e.Graphics.DrawString(base.Text, base.Font, Brushes.Black, base.ClientRectangle.X + 6, base.ClientRectangle.Y + 5);
}
Refer the sample in the following link which demonstrates the above,
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=ButtonAdvTest1639176038.zipPlease let us know if you have any queries.
Regards
Vallarasu S.