public AppearanceParameters ReplaceChildsBehaviourMode(ChildsBehaviourMode childsBehaviourMode) { return(new AppearanceParameters(this) { replaceChildsBehaviourMode = true, childsBehaviourMode = childsBehaviourMode }); }
public AppearanceParameters(AppearanceParameters other) { this.replaceCallback = other.replaceCallback; this.callback = other.callback; this.replaceDelay = other.replaceDelay; this.delay = other.delay; this.replaceImmediately = other.replaceImmediately; this.immediately = other.immediately; this.replaceResetAnimation = other.replaceResetAnimation; this.resetAnimation = other.resetAnimation; this.replaceIncludeChilds = other.replaceIncludeChilds; this.includeChilds = other.includeChilds; this.replaceChildsBehaviourMode = other.replaceChildsBehaviourMode; this.childsBehaviourMode = other.childsBehaviourMode; this.replaceForced = other.replaceForced; this.forced = other.forced; this.replaceManual = other.replaceManual; this.manual = other.manual; }
public ChildsBehaviourMode GetChildsBehaviourMode(ChildsBehaviourMode defaultValue) { if (this.replaceChildsBehaviourMode == true) { return(this.childsBehaviourMode); } return(defaultValue); }
public AppearanceParameters(AppearanceParameters other) { this.replaceCallback = other.replaceCallback; this.callback = other.callback; this.replaceDelay = other.replaceDelay; this.delay = other.delay; this.replaceImmediately = other.replaceImmediately; this.immediately = other.immediately; this.replaceResetAnimation = other.replaceResetAnimation; this.resetAnimation = other.resetAnimation; this.replaceIncludeChilds = other.replaceIncludeChilds; this.includeChilds = other.includeChilds; this.replaceChildsBehaviourMode = other.replaceChildsBehaviourMode; this.childsBehaviourMode = other.childsBehaviourMode; this.replaceForced = other.replaceForced; this.forced = other.forced; }
public AppearanceParameters ReplaceChildsBehaviourMode(ChildsBehaviourMode childsBehaviourMode) { return new AppearanceParameters(this) { replaceChildsBehaviourMode = true, childsBehaviourMode = childsBehaviourMode }; }
public ChildsBehaviourMode GetChildsBehaviourMode(ChildsBehaviourMode defaultValue) { if (this.replaceChildsBehaviourMode == true) return this.childsBehaviourMode; return defaultValue; }