We designed the Conditional Appearance module to control various properties of controls and provided implementation for the most useful properties of DevExpress ASP.NET and WinForms controls: Enabled, Visible, BackColor, FontColor and FontStyle. However, there are other controls and properties that can be managed using the Conditional Appearance module capabilities.
We reviewed our implementation and made a few changes in our code to support new properties, so you can request a hotfix right now, and we will publish it for you. This change will be included into the next public release/update for the 14.2 release.
The attached project demonstrates how to introduce an additional string value to the 'AppearanceAttribute' class and apply this string to the ASPxGridView cell as a tooltip in accordance with the Conditional Appearance rules. Note that other controls and properties may require other code to show a specified string as a tooltip. Please review the corresponding documentation for a necessary control for more details on how to implement this scenario.
Hello Dennis, nice feature. I tested it and it works fine in your example.
ReplyDeleteBut when I create an appearance rule without setting the backcolor, the tooltip does not work. So the tooltip only works when also using the existing properties like back and fore color.
Can you edit your example and make it possible to create and use an appearance rule with only the tooltip filled?
Hi Hein, yes, I can replicate this behavior. I will post here once I have a chance to debug this case.
DeleteGreat, thank you!
DeleteHello Dennis, any progress on this issue?
DeleteHi. I need union all ToolTips from all applied [AppearanceWithToolTip] by Priority values order
ReplyDeleteFor code
[DefaultClassOptions]
public class MyPerson : BaseObject {
public MyPerson(Session session) : base(session) { }
[AppearanceWithToolTip("MinorAppearance", "[Important] = false", BackColor = "Green", ToolTip = "Minor", Priority = 0)]
[AppearanceWithToolTip("MinorAppearance2", "[Important] = false", FontStyle = FontStyle.Italic, ToolTip = "Addition tooltip", Priority = 1)]
public string Name { get { return GetPropertyValue("Name"); } set { SetPropertyValue("Name", value); } }
public bool Important { get { return GetPropertyValue("Important"); } set { SetPropertyValue("Important", value); } }
}
I want see
"Minor
Addition tooltip"
And i need solution for Win