|
|
 |
|

DW.Interactivity
|
Sometimes the behaviors of WPF controls are incomplete or just not good enough for a MVVM environment.
This library brings you many behaviors you can attach to every WPF control you like. For example an automatically resize of columns or the possibility to handle Window events. New features never were easier to get. Have a look and discover the possibilities.
|
|
 |
ColumnSortBehavior |
|
|
As soon a control has a header bar the corresponding column can be sorted after click on it. This behavior attaches this functionality to all controls with a GridViewHeaderRowPresenter.
|
 |
ColumnVisibilityBehavior |
|
|
Applications with lists mostly have the possibility to let the user define which column should be visible or not. With this behavior you can have an easy access to it, just define all columns and bind a list with the names of the visible columns. This behavior attaches this functionality to all controls with a GridViewHeaderRowPresenter.
|
 |
ColumnWidthBehavior |
|
|
In WPF everything can be dynamic sized by the content and windows size. But unfortunatelly the ListView Columns not. This behavior brings this auto size functionality. This behavior attaches this functionality to all controls with a GridViewHeaderRowPresenter.
|
 |
DeleteBehavior |
|
|
Need a command if the user wants to "delete" an item out of a list? Take this behavior. Simply attach it to any kind of control and it listen to the key inputs, as soon the user have pressed the delete key a corresponding command will be called.
|
 |
DoubleClickBehavior |
|
|
This behavior brings you a double click possibility to every kind of controls. You can use it for example in lists for display the details for the double clicked item.
|
 |
DragAndDropBehavior |
|
|
Do you would like to have a drag and drop possibility between lists? With this behavior it is ready to use. Just define where a list can drop its item to and that's it.
|
 |
FocusBehavior |
|
|
Many applications have dialogs where the users first have to type in any kind of text. It will be great if the user directly can start typing as soon the dialog is displayed. With this behavior you can define which control will get the focus as soon the window has loaded.
|
 |
ScrollBehavior |
|
|
This behavior brings you additional features to list controls. You can define to which item should be scrolled, you also define if the list automatically scrolls to the last item as soon the collection has changed and that the list scrolls to the selected item automatically after the selection changes.
|
 |
TextBoxBehavior |
|
|
Some text boxes in applications have the behavior that all the text will be selected if the box got the focus. This you can have with this behavior. You also can work with the selection out of bound text.
|
 |
WindowBehavior |
|
|
This behavior brings you the possibilities to let a command called if a window is loaded, closing or closed. The closing can be canceled by an additional parameter. Furthermore it is possible to let the DialogResult set by a button or ask a command how to set the DialogResult. It is usefully especially for MVVM applications.
|
 |
WindowGlassBehavior |
|
|
This behavior enabled you the Aero glass effect. Just attach it to a window. To have it work the Windows version have to be Windows Vista or later and the Aero have to be enabled.
|
 |
WindowTitleBarBehavior |
|
|
The WPF window has no properties for removing or disabe the minimize, maximize and close buttons. You have to manipulate the window directly in the WinApi. With this behavior you have a direct access to it. Just attach it and define which buttons should be disabled.
|
|
|
 |