LostFocusBehavior ClassDW.WPFToolkit Documentation
Defines the actions which should be done when the NumberBox losts the focus.
Inheritance Hierarchy

SystemObject
  System.Windows.MarkupMarkupExtension
    DW.WPFToolkit.ControlsLostFocusBehavior

Namespace: DW.WPFToolkit.Controls
Assembly: DW.WPFToolkit (in DW.WPFToolkit.dll) Version: 5.6.0.0
Syntax

C#
public class LostFocusBehavior : MarkupExtension

The LostFocusBehavior type exposes the following members.

Constructors

  NameDescription
Public methodLostFocusBehavior
Initializes a new instance of the LostFocusBehavior class.
Public methodLostFocusBehavior(ValueBehavior)
Initializes a new instance of the LostFocusBehavior class.
Top
Methods

  NameDescription
Public methodProvideValue
Returns the object with its configured behaviors.
(Overrides MarkupExtensionProvideValue(IServiceProvider).)
Top
Properties

  NameDescription
Public propertyFormatText
Gets or sets the format text (string.Format) to be applied to the text.
Public propertyTrimLeadingZero
Gets or sets a value that indicates if leading zero's should be trimmed from the value or not.
Public propertyValue
Gets or sets the behavior to be applied to the NumberBox value when it its empty (null).
Top
See Also

Reference