C# Class ModernWPF.Resources.CommandTextBinder

Provides bindable text for window commands. The purpose of this is to support on-the-fly language changes.
Inheritance: INotifyPropertyChanged
Show file Open project: soukoku/ModernWPF

Public Methods

Method Description
UpdateCulture ( CultureInfo culture ) : void

Updates the culture used for the command text. Pass null to use current culture.

Private Methods

Method Description
CommandTextBinder ( ) : System.ComponentModel
this ( string key ) : string

Method Details

UpdateCulture() public method

Updates the culture used for the command text. Pass null to use current culture.
public UpdateCulture ( CultureInfo culture ) : void
culture System.Globalization.CultureInfo The culture.
return void