C# Class Te.StahpIt.Controls.AddCategoryControl

Interaction logic for AddCategoryControl.xaml
Inheritance: System.Windows.Controls.UserControl
Mostra file Open project: TechnikEmpire/StahpIt-WPF Class Usage Examples

Private Properties

Property Type Description
OnAddCategoryClicked void
OnInputChanged void
OnVisibilityChanged void
TryGetSourceUri System.Uri

Public Methods

Method Description
AddCategoryControl ( Engine engine ) : MahApps.Metro.Controls

Constructs a new AddCategoryControl instance. Initializes control inputs.

Reset ( ) : void

Clears the input/state of the control.

Private Methods

Method Description
OnAddCategoryClicked ( object sender, System e ) : void
OnInputChanged ( object sender, System.Windows.Controls.TextChangedEventArgs e ) : void
OnVisibilityChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
TryGetSourceUri ( string uriString ) : Uri

Attempts to parse and return a valid HTTP or HTTPS URI from the supplied string.

Method Details

AddCategoryControl() public method

Constructs a new AddCategoryControl instance. Initializes control inputs.
/// In the event that the supplied Engine instance is null, will throw ArgumentException. ///
public AddCategoryControl ( Engine engine ) : MahApps.Metro.Controls
engine Engine
return MahApps.Metro.Controls

Reset() public method

Clears the input/state of the control.
public Reset ( ) : void
return void