Article relates to
RadControls for WinForms Q4 2006 SP2
Iordan Pavlov, Telerik
Feb. 21, 2207
Last modified by
You have a ButtonElement with hidden border: this.radButton1.ButtonElement.BorderElement.Visibility = ElementVisibility.Hidden;
Let’s say you want the border to become visible on MouseOver. This can be accomplished by writing a simple behavior:
The only thing left is to attach this custom behavior to the ButtonElement (for example while loading the form): this.radButton1.ButtonElement.AddBehavior(new ButtonBorderBehavior());
Copyright © 2017, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.