zoom - WPF full-screen app debug in "portrait" mode -
i have make "portrait" 1080x1920 full-screen app fixed-size images on it, using wpf. have standard "landscape" 1920x1080 screen work on, can't run app test it. can't turn screen 90 degrees (it doesn't rotate).
how overcomed? maybe kind of "zooming tags" exist this
<zoom value=50%> ... xaml interface ... </zoom>
i temporarily use them during debug sessions..
thank you!
i not know if understand problem, if want make rotation on object can use object this
<grid> <grid.rendertransform> <rotatetransform angle="90"/> </grid.rendertransform> </grid>
and if want make scaling (zoom in - out) can use following tag
<grid> <grid.rendertransform> <scaletransform scalex="2" scaley="2"/> </grid.rendertransform> </grid>
the value of 1 mean not want scale @ values above 1 mean zooom in (enlarging) values below 1 mean zoom out (smalling)
hope helpful
Comments
Post a Comment