public void PushControl(ResolvedControl control) { Context = new StyleMatchContext() { Control = control, Parent = Context }; }
public abstract bool Matches(StyleMatchContext matcher);
public bool Matches(StyleMatchContext currentControl) => true;
public override bool Matches(StyleMatchContext matchInfo) { return(Matcher != null?Matcher(matchInfo) : true); }
public abstract bool Matches(StyleMatchContext context);
public override bool Matches(StyleMatchContext context) { return(Matcher != null?Matcher(context) : true); }