![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| 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 | |||