Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - About ToolBar's Band and BandIndex Properties

 
 
Old 10-31-2007   #1 (permalink)
Sorin Dolha


 
 

About ToolBar's Band and BandIndex Properties

Hello,

Although this is not a technical help request, I wonder if someone (from
Microsoft or not) can think of a reason for the fact that the Band and
BandIndex properties of a ToolBar object are simple dependency properties and
not depdendency properties attached to ToolBarTray.

If I think about Band and BandIndex which are defining the "row" and
"column" in a horizontal ToolBarTray I don't see a reason for using the Band
and BandIndex properties if the ToolBar was not inside of a ToolBarTray...
They should be, in my opinion, attached properties, like DockPanel attaches
the Dock property, or as Grid attaches the Row and Column properties for the
inner elements.

Maybe however there are good reasons for these not being implemented this
way in the current version of WPF, but I assume someone could at least
explain those reasons to me and others like me, who like the principles of
WPF but don't like when some types of WPF itself don't follow the rules...

I already talked about this with somebody on the Microsoft's WPF Forum, and
I got the suggestion that maybe the two properties are set to the ToolBar
object rather than attached to the ToolBarTray because we can have only
toolbars in a tray.

But however, then I need to ask why there is an attached IsLocked property
of ToolBarTray (which works for ToolBars in the tray only), instead of
creating an IsLocked property on the ToolBar itself (in the same manner)? I
doubt therefore that this is the real reason and I came to ask here also.

Regards,
Sorin Dolha, DlhSoft

My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
bt total broad band Network & Sharing
MS Overview of the out-of-band release. Windows Updates
what is your fav band / artist Chillout Room
advance notification of two out-of-band security bulletins Windows Updates
Wide band between list and messages Live Mail


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46