C# Class MahApps.Metro.Controls.XmlBrowser.XmlBrowserControl

XmlBrowserControl
Inheritance: System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector
Show file Open project: OfficeDev/Office-IT-Pro-Deployment-Scripts Class Usage Examples

Public Properties

Property Type Description
IsEditModeProperty System.Windows.DependencyProperty
XmlDocProperty System.Windows.DependencyProperty
XmlSchemaProperty System.Windows.DependencyProperty

Public Methods

Method Description
OnIsEditModeChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Executes when IsEditMode DP is changed

OnXmlDocChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Executes when XmlDoc DP is changed, Loads the xml and tranforms it using XSL provided

OnXmlSchemaChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Executes when XmlSchema DP is changed

XmlBrowserControl ( ) : System

Private Methods

Method Description
CopyClipButtonClick ( object sender, RoutedEventArgs e ) : void
EditButtonClick ( object sender, RoutedEventArgs e ) : void
InitializeComponent ( ) : void
InstallOfficeButton_OnClick ( object sender, RoutedEventArgs e ) : void
SaveToFileButton_OnClick ( object sender, RoutedEventArgs e ) : void
System ( int connectionId, object target ) : void
ValidateXmlButtonClick ( object sender, RoutedEventArgs e ) : void

Method Details

OnIsEditModeChanged() public static method

Executes when IsEditMode DP is changed
public static OnIsEditModeChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
return void

OnXmlDocChanged() public static method

Executes when XmlDoc DP is changed, Loads the xml and tranforms it using XSL provided
public static OnXmlDocChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
return void

OnXmlSchemaChanged() public static method

Executes when XmlSchema DP is changed
public static OnXmlSchemaChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject
e System.Windows.DependencyPropertyChangedEventArgs
return void

XmlBrowserControl() public method

public XmlBrowserControl ( ) : System
return System

Property Details

IsEditModeProperty public static property

public static DependencyProperty,System.Windows IsEditModeProperty
return System.Windows.DependencyProperty

XmlDocProperty public static property

public static DependencyProperty,System.Windows XmlDocProperty
return System.Windows.DependencyProperty

XmlSchemaProperty public static property

public static DependencyProperty,System.Windows XmlSchemaProperty
return System.Windows.DependencyProperty