C# Class XAMLMarkupExtensions.Base.StaticExtension

Inheritance: NestedMarkupExtension, INotifyPropertyChanged
Mostra file Open project: MrCircuit/XAMLMarkupExtensions

Public Methods

Method Description
FormatOutput ( TargetInfo endPoint, TargetInfo info ) : object

This function returns the properly prepared output of the markup extension.

StaticExtension ( ) : System

Creates a new instance.

StaticExtension ( string member ) : System

Creates a new instance.

Protected Methods

Method Description
OnServiceProviderChanged ( IServiceProvider serviceProvider ) : void

Override this function, if (and only if) additional information is needed from the IServiceProvider instance that is passed to NestedMarkupExtension.ProvideValue.

RaisePropertyChanged ( string propertyName ) : void

Raises a new E:INotifyPropertyChanged.PropertyChanged event.

UpdateOnEndpoint ( TargetInfo endpoint ) : bool

This method must return true, if an update shall be executed when the given endpoint is reached. This method is called each time an endpoint is reached.

Method Details

FormatOutput() public method

This function returns the properly prepared output of the markup extension.
public FormatOutput ( TargetInfo endPoint, TargetInfo info ) : object
endPoint TargetInfo Information about the endpoint.
info TargetInfo Information about the target.
return object

OnServiceProviderChanged() protected method

Override this function, if (and only if) additional information is needed from the IServiceProvider instance that is passed to NestedMarkupExtension.ProvideValue.
protected OnServiceProviderChanged ( IServiceProvider serviceProvider ) : void
serviceProvider IServiceProvider A service provider.
return void

RaisePropertyChanged() protected method

Raises a new E:INotifyPropertyChanged.PropertyChanged event.
protected RaisePropertyChanged ( string propertyName ) : void
propertyName string The name of the property that changed.
return void

StaticExtension() public method

Creates a new instance.
public StaticExtension ( ) : System
return System

StaticExtension() public method

Creates a new instance.
public StaticExtension ( string member ) : System
member string The member name.
return System

UpdateOnEndpoint() protected method

This method must return true, if an update shall be executed when the given endpoint is reached. This method is called each time an endpoint is reached.
protected UpdateOnEndpoint ( TargetInfo endpoint ) : bool
endpoint TargetInfo Information on the specific endpoint.
return bool