Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Panelbar (obsolete as of Q2 2010) > how do I change font size caption of panelbar

Answered how do I change font size caption of panelbar

Feed from this thread
  • chatchai avatar

    Posted on Oct 14, 2010 (permalink)

    i need to change font size and color of caption how do i change it
    thank you

    Reply

  • Posted on Oct 15, 2010 (permalink)

    Hello,

    You have to get the caption element from the RadPanelBarGroupElement, like so:
    var group = new RadPanelBarGroupElement();
    group.Caption = "Caption";
    RadPanelBarVisualElement caption = group.GetCaptionElement();
    caption.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    caption.ForeColor = Color.Red;

    And after that apply the desired font and set the desired fore color.

    Hope this helps, if you have any other questions or comments, please let me know,

    Best Regards,
    Emanuel Varga

    Reply

  • chatchai avatar

    Posted on Oct 15, 2010 (permalink)

    Emanuel Varga thank you :)

    Reply

  • Posted on Oct 17, 2010 (permalink)

    Glad to be able to help, if you have any more questions please just let me know, and if the question has been solved, please mark the question as answered, so that others can find the answers to their questions faster.

    Best Regards,
    Emanuel Varga

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Panelbar (obsolete as of Q2 2010) > how do I change font size caption of panelbar
Related resources for "how do I change font size caption of panelbar"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]