Tech Off Thread

1 post

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

how to get trigger activated if a UI element is Scaled in WPF

Back to Forum: Tech Off
  • User profile image

    we are using a grid and some components say, radio buttons as its cell element. we defined style for radio button for its look and feel, like adding text block in its content template.

    point is : i am applying scaling to grid, so what happen is all the radio buttons are scaled too., that modifies display of text in the radio buttons, as it get scaled too. 

    so is there any way or trigger, i can use to increase the text block defined in the radio button's content template to get modifies acordingly so that when  scaling occurs text remains same and the ardio buttons get scaled though.

    <radiobutton grid.col="" grid.row=""  template="..">

    <ContentTemplate >// for radio button

    i am doing coding part in c#. 

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.