C# Class Zetbox.Client.WPF.CustomControls.PropertyEditor

Inheritance: System.Windows.Controls.ContentControl
Exibir arquivo Open project: daszat/zetbox

Public Methods

Method Description
Focus ( ) : void

Protected Methods

Method Description
SetupFocusManagement ( FrameworkElement element, Func vmGetter ) : void

Use this method to *properly* implement Focusmanagement for .NET 4.0. This contains hacks to make that work, so nobody else has do pull his/her hair out.

Private Methods

Method Description
BlurViewModel ( FrameworkElement element ) : void
FocusViewModel ( FrameworkElement element, Func vmGetter ) : void
PropertyEditor ( ) : System
PropertyEditor_GotFocus ( object sender, RoutedEventArgs e ) : void

Method Details

Focus() public method

public Focus ( ) : void
return void

SetupFocusManagement() protected method

Use this method to *properly* implement Focusmanagement for .NET 4.0. This contains hacks to make that work, so nobody else has do pull his/her hair out.
protected SetupFocusManagement ( FrameworkElement element, Func vmGetter ) : void
element System.Windows.FrameworkElement the FrameworkElement whose keyboard focus should be managed
vmGetter Func a functor yielding the current BaseValueViewModel whose focus is tied to this view
return void