C# Class Mono.Xaml.MarkupExpressionParser

Mostra file Open project: shana/moon

Protected Properties

Property Type Description
parsingBinding bool

Public Methods

Method Description
IsBinding ( string expression ) : bool
IsStaticResource ( string expression ) : bool
IsTemplateBinding ( string expression ) : bool
MarkupExpressionParser ( ) : System
MarkupExpressionParser ( object target, string attribute_name ) : System
ParseBinding ( string &expression ) : Binding
ParseExpression ( string &expression ) : object
ParseRelativeSource ( string &expression ) : object
ParseStaticResource ( string &expression ) : object
ParseTemplateBinding ( string &expression ) : object

Protected Methods

Method Description
GetParentTemplate ( ) : System.Windows.FrameworkTemplate
LookupNamedResource ( DependencyObject dob, string name ) : object

Private Methods

Method Description
GetNextPiece ( string &remaining, char &next ) : string
HandleProperty ( Binding b, string prop, string &remaining ) : void
MatchExpression ( string match, string expression ) : bool
MatchExpression ( string match, string expression, int &end ) : bool
TryHandler ( string match, ExpressionHandler handler, string &expression, object &result ) : bool

Method Details

GetParentTemplate() protected abstract method

protected abstract GetParentTemplate ( ) : System.Windows.FrameworkTemplate
return System.Windows.FrameworkTemplate

IsBinding() public static method

public static IsBinding ( string expression ) : bool
expression string
return bool

IsStaticResource() public static method

public static IsStaticResource ( string expression ) : bool
expression string
return bool

IsTemplateBinding() public static method

public static IsTemplateBinding ( string expression ) : bool
expression string
return bool

LookupNamedResource() protected abstract method

protected abstract LookupNamedResource ( DependencyObject dob, string name ) : object
dob System.Windows.DependencyObject
name string
return object

MarkupExpressionParser() public method

public MarkupExpressionParser ( ) : System
return System

MarkupExpressionParser() public method

public MarkupExpressionParser ( object target, string attribute_name ) : System
target object
attribute_name string
return System

ParseBinding() public method

public ParseBinding ( string &expression ) : Binding
expression string
return System.Windows.Data.Binding

ParseExpression() public method

public ParseExpression ( string &expression ) : object
expression string
return object

ParseRelativeSource() public method

public ParseRelativeSource ( string &expression ) : object
expression string
return object

ParseStaticResource() public method

public ParseStaticResource ( string &expression ) : object
expression string
return object

ParseTemplateBinding() public method

public ParseTemplateBinding ( string &expression ) : object
expression string
return object

Property Details

parsingBinding protected_oe property

protected bool parsingBinding
return bool