last day (15 days later) »
EBrown
20:13
Alright, so I'l working on this WPF app.
Mat's Mug
kay
EBrown
It's basically a Markdown -> HTML/BBCode translator.
The problem, is I want four tabs (Markdown, HTML, BBCode, Render Preview) that turn into one tab with three panels when resized.
Mat's Mug
ok....
EBrown
I have no idea if that is possible though.
(I'm getting a quick diagram around.)
Hosch250
@EBrown It is.
EBrown
20:16
Basically, when the window is at a higher resolution, I want the tabs to turn into a sort of three-column grid.
Markdown on the left, HTML/BBCode in the middle, Render on the right.
Hosch250
It sounds like you want VisualStateGroup.
Are these three tabs displayed in a single page/window document?
It really shouldn't matter, though.
EBrown
Well it would be four tabs.
And yes, they would all be in a single window.
Hosch250
Oh, well, are they four files loaded in a single window, or is everything in a single doc?
EBrown
They would be three textboxes, and one browser control.
Hosch250
OK.
It doesn't matter either way, just curious.
What you need is a VisualStateGroup.
I use one right here:
github.com/Hosch250/LearnOneNote/blob/master/LearnOneNote/…
EBrown
20:19
That's basically what I want.
Hosch250
Yeah, it shouldn't be that hard.
Mat's Mug
I've never done that, couldn't tell :D
Hosch250
I've made a two-column layout into a one-column layout.
It isn't that hard, really.
EBrown
Interesting.
Mat's Mug
I've always just relied on automagic layouting
EBrown
20:30
...
I need a little more than automagic. Lol
Mat's Mug
I totally see that :)
EBrown
This looks like a lot of work.
Hosch250
@EBrown It really isn't.
Even if it is, you could design two completely separate grids and just set the visibility.
Mat's Mug
@EBrown XAML always
looks
like a lot of work ;-)
Hosch250
That really would be just a couple extra lines to handle the swap.
EBrown
20:34
I think I might just do the grid thing.
last day (15 days later) »
all rooms
Transcript for
Jan '16
4
Jan
19
Room for Mat's Mug and EBrown
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2025 Stack Exchange Inc;
legal
mobile