Click here to Skip to main content
15,887,027 members
Home / Discussions / WPF
   

WPF

 
SuggestionRe: hello Pin
Richard MacCutchan10-Jul-14 22:34
mveRichard MacCutchan10-Jul-14 22:34 
QuestionConfused about MarkupExtension class reference in XAML Pin
Mc_Topaz9-Jul-14 3:38
Mc_Topaz9-Jul-14 3:38 
AnswerRe: Confused about MarkupExtension class reference in XAML Pin
Pete O'Hanlon9-Jul-14 4:45
mvePete O'Hanlon9-Jul-14 4:45 
QuestionRe: Confused about MarkupExtension class reference in XAML Pin
Mc_Topaz9-Jul-14 5:34
Mc_Topaz9-Jul-14 5:34 
AnswerRe: Confused about MarkupExtension class reference in XAML Pin
Pete O'Hanlon9-Jul-14 5:55
mvePete O'Hanlon9-Jul-14 5:55 
GeneralRe: Confused about MarkupExtension class reference in XAML Pin
Richard Deeming9-Jul-14 8:01
mveRichard Deeming9-Jul-14 8:01 
GeneralRe: Confused about MarkupExtension class reference in XAML Pin
Pete O'Hanlon9-Jul-14 8:33
mvePete O'Hanlon9-Jul-14 8:33 
QuestionNeed some idea for resizing my control Pin
Super Lloyd8-Jul-14 4:22
Super Lloyd8-Jul-14 4:22 
I am implementing (soon on CodePlex) a.. MenuRibbon control (both menu and ribbon)
Anyway, I am now trying to implement the resizing behavior of a RibbonTab, and need some ideas...

I even downloaded the official open source version of the WPF Ribbon from MS[^], but it is very slow resizing (at least the open source version). Further the resizing code is somehow hard to follow, I found...

I identified that:
- A RibbonTab is an ItemsControl of RibbonGroup
- RibbonGroup have discrete sizes (i.e. large, medium, small for example) or... star size (which means it has a min, a max, and many value in between which are somehow difficult to determine (it's a property of its children possible value of visual tree, it happen when there is gallery in the RibbonGroup for example)). All RibbonGroup have a last smallest possible size of collapsed.

now I need an algorithm which choose a size combination for each control which choose a nice visual combination of these know (discrete) and unknown (star) sizes...
I am probably tired.. but I have blank page problem right now...

[EDIT] Time for bed! At any rate I think I know my biggest Hurdle, I need to put these size definition in C#, and while the StarSize is only one item in the possible size definition, it should contains a list of discrete value itself.
After that I'll be back to multiple list of size (i.e. discrete and finite) from which I just have to pick one value in each for most aesthetically pleasant result....
My programming get away... The Blog...
DirectX for WinRT/C# since 2013!
Taking over the world since 1371!


modified 8-Jul-14 10:33am.

QuestionShow items in multiple columns Pin
pjank423-Jul-14 22:06
pjank423-Jul-14 22:06 
AnswerRe: Show items in multiple columns Pin
Pete O'Hanlon3-Jul-14 23:03
mvePete O'Hanlon3-Jul-14 23:03 
GeneralRe: Show items in multiple columns Pin
pjank424-Jul-14 5:26
pjank424-Jul-14 5:26 
QuestionMultipass MeasureOverride() not calculating updated items size (added code sample) Pin
Super Lloyd2-Jul-14 3:50
Super Lloyd2-Jul-14 3:50 
QuestionDraw a rectangular box Pin
Subin Mavunkal1-Jul-14 23:24
Subin Mavunkal1-Jul-14 23:24 
AnswerRe: Draw a rectangular box Pin
Matt T Heffron2-Jul-14 13:53
professionalMatt T Heffron2-Jul-14 13:53 
QuestionXAML Pin
Member 97193591-Jul-14 22:21
Member 97193591-Jul-14 22:21 
AnswerRe: XAML Pin
Pete O'Hanlon1-Jul-14 22:55
mvePete O'Hanlon1-Jul-14 22:55 
QuestionWPF Expander Problem Pin
Kevin Marois1-Jul-14 13:49
professionalKevin Marois1-Jul-14 13:49 
AnswerRe: WPF Expander Problem Pin
Pete O'Hanlon1-Jul-14 19:11
mvePete O'Hanlon1-Jul-14 19:11 
QuestionWPF - PRism Framework Pin
Muhammed Nigil29-Jun-14 23:36
professionalMuhammed Nigil29-Jun-14 23:36 
AnswerRe: WPF - PRism Framework Pin
Pete O'Hanlon30-Jun-14 0:17
mvePete O'Hanlon30-Jun-14 0:17 
GeneralRe: WPF - PRism Framework Pin
Muhammed Nigil30-Jun-14 1:00
professionalMuhammed Nigil30-Jun-14 1:00 
GeneralRe: WPF - PRism Framework Pin
Pete O'Hanlon30-Jun-14 3:03
mvePete O'Hanlon30-Jun-14 3:03 
GeneralRe: WPF - PRism Framework Pin
Muhammed Nigil30-Jun-14 18:56
professionalMuhammed Nigil30-Jun-14 18:56 
GeneralRe: WPF - PRism Framework Pin
Muhammed Nigil30-Jun-14 19:26
professionalMuhammed Nigil30-Jun-14 19:26 
QuestionHow to display from nested usercontrol another usercontrol class on button click event? Pin
LAPEC29-Jun-14 7:12
LAPEC29-Jun-14 7:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.