Graphic Templates in Theme and use it inside Buttons, or as graphics inside Grid etc.. How to? and ToggleButton trouble
Posted: 16 Feb 2018, 14:39
It is possible to use for example Viewbox (with graphics) as template and use it for button, or as background for grid? If yes how?
Another question is if I can change the colors for those graphics templates (viewboxes and its graphics) inside button states?
I have togglebutton, and I copy - paste viewbox (created graphics) for toggle button. I have two viewboxes for two states (checked and unchecked) and I switch to hidden for one and visible for second viewbox. It is simple and it "wroking" (i created one button "succesfuly" but with little coding help), but Blend with this behavior (when I start changing visibility viewbox for checked or unchecked sate) start produce and change the code to the mess and then it crash if I try undo. Or it crash without undo and then I start thinking I am doing something bad. Maybe two viewboxes inside togglebutton is not good idea?
Another question is if I can change the colors for those graphics templates (viewboxes and its graphics) inside button states?
I have togglebutton, and I copy - paste viewbox (created graphics) for toggle button. I have two viewboxes for two states (checked and unchecked) and I switch to hidden for one and visible for second viewbox. It is simple and it "wroking" (i created one button "succesfuly" but with little coding help), but Blend with this behavior (when I start changing visibility viewbox for checked or unchecked sate) start produce and change the code to the mess and then it crash if I try undo. Or it crash without undo and then I start thinking I am doing something bad. Maybe two viewboxes inside togglebutton is not good idea?