C# Class System.Windows.DataTrigger

Inheritance: System.Windows.TriggerBase, System.Windows.Markup.IAddChild
显示文件 Open project: wjk/dotnet-wpf Class Usage Examples

Private Properties

Property Type Description
GetCurrentState bool
Seal void

Public Methods

Method Description
IAddChild ( Object value ) : void

This method is called to Add a Setter object as a child of the Style.

IAddChild ( string text ) : void

This method is called by the parser when text appears under the tag in markup. As default Styles do not support text, calling this method has no effect.

ReceiveMarkupExtension ( object targetObject, XamlSetMarkupExtensionEventArgs eventArgs ) : void

Private Methods

Method Description
GetCurrentState ( DependencyObject container, System.Windows.UncommonField dataField ) : bool
Seal ( ) : void

Method Details

IAddChild() public method

This method is called to Add a Setter object as a child of the Style.
public IAddChild ( Object value ) : void
value Object /// The object to add as a child; it must be a Setter or subclass. ///
return void

IAddChild() public method

This method is called by the parser when text appears under the tag in markup. As default Styles do not support text, calling this method has no effect.
public IAddChild ( string text ) : void
text string /// Text to add as a child. ///
return void

ReceiveMarkupExtension() public static method

public static ReceiveMarkupExtension ( object targetObject, XamlSetMarkupExtensionEventArgs eventArgs ) : void
targetObject object
eventArgs XamlSetMarkupExtensionEventArgs
return void