Hi,
I try to put border around a buttonTools but nothing is drawn for normal state button.
Maybe i don't understand something.. and hope you can help me.
Infragistics.Win.UltraWinToolbars.ToolBase toolSupprime;toolSupprime = ultraToolbarsManager1.Toolbars["UltraToolbar1"].Tools["Supprimer"];
//doesn't work toolSupprime.SharedProps.AppearancesSmall.Appearance.BorderColor = Color.Black;
//works toolSupprime.SharedProps.AppearancesSmall.HotTrackAppearance.BorderColor = Color.Black;
The toolbar button border logic only draws the borders when the mouse is over the button. You can manually draw the border with a draw filter. If you have never used a draw filter before, the following help article gives a brief overview:http://help.infragistics.com/Help/NetAdvantage/WinForms/2009.2/CLR2.0/html/Win_Draw_Filter.html
You would want to filter on the ButtonToolUIElement and draw during the BeforeDrawBorders or AfterDrawBorders phase.