Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
65
Get Font from UltraTreeNode
posted

Hello,

i'm using a UltraWinTree, which has a assigned style set. This style set uses a specific font, which can probably be changed by the user of the application.

Now i'm trying to get the System.Drawing.Font of a UltraTreeNode from this tree at runtime. "Override.NodeAppearance.FontData" always returns me "default" or NULL/"0" values. When i call "ResolveAppearance" on the UltraTreeNode,  the resulting Infragistics.Win.AppearanceData.FontData object also contains only default values. Calling CreateFont returns me NULL.

Can you please explain, how i can get the System.Drawing.Font of a UltraTreeNode?

Thank you in advance for your help!

Best regards,

Daniel