public static Behavior GetUpdateFrameVisibleBehavior(bool isShow) { return(new Behavior(isReDo => DisplayObjectUtil.UpdateFrameVisible(isShow), isReUndo => DisplayObjectUtil.UpdateFrameVisible(!isShow), BehaviorType.UpdateFrameVisible, false)); }