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
415
WPF 10.3 XAMTextEditor NullTextAppearance
posted

Hi

Under the windows controls ( Infragistics.Win.UltraWinEditors.UltraTextEditor ) you have NullText property AND a setting for NullTextAppearance

 

This allws for setting and formatting (font/style) of the text within the control when it is empty

 

However, in WPF the XAMTextEditor (Infragistics.Windows.Editors.XAAMTextEditor) there is only the NullText property.

This then does not allow me to set the style of the text (e.g. in italics and grey colour)

 

Is there a workaround or will this be available at some point?

 

Urfan

 

Parents
No Data
Reply
  • 54937
    Suggested Answer
    Offline posted

    Appearance properties were needed in WinForms because the controls were handling the rendering in code. In WPF the rendering is based on the templates and since controls can be retemplated such properties are not needed and would be accomplished by retemplating the control. You can look at the DefaultStyles provided with the product and use those templates as the basis for your custom template.

Children