protected override void AddDefaultVisibleStates(ItemStateManager sm)
 {
     sm.AddDefaultVisibleState("Selected");
     sm.AddDefaultVisibleState("MouseOver");
     sm.AddDefaultVisibleState("MouseDown");
     sm.AddDefaultVisibleState("Disabled");
 }
Example #2
0
 protected override void AddDefaultVisibleStates(ItemStateManager res)
 {
     res.AddDefaultVisibleState("MouseOver.ActionPart");
     res.AddDefaultVisibleState("MouseOver.ArrowPart");
     res.AddDefaultVisibleState("Pressed");
     res.AddDefaultVisibleState("DropDownOpened");
 }
Example #3
0
 protected override void AddDefaultVisibleStates(ItemStateManager sm)
 {
     sm.AddDefaultVisibleState("LeftAlign");
     sm.AddDefaultVisibleState("RightAlign");
     sm.AddDefaultVisibleState("BottomAlign");
     sm.AddDefaultVisibleState("Disabled");
 }
Example #4
0
        protected override void AddDefaultVisibleStates(ItemStateManager sm)
        {
            base.AddDefaultVisibleStates(sm);

            sm.AddDefaultVisibleState("IsWelcomePage");
            sm.AddDefaultVisibleState("IsCompletionPage");
        }
 protected override void AddDefaultVisibleStates(ItemStateManager sm)
 {
     sm.AddDefaultVisibleState("Preview");
     sm.AddDefaultVisibleState("Pinned");
     sm.AddDefaultVisibleState("Selected");
     base.AddDefaultVisibleStates(sm);
 }
 protected override void AddDefaultVisibleStates(ItemStateManager sm)
 {
     base.AddDefaultVisibleStates(sm);
     sm.AddDefaultVisibleState("IsSelected");
     sm.AddDefaultVisibleState("IsExpanded");
     sm.AddDefaultVisibleState("IsInactive");
 }
Example #7
0
 protected override void AddDefaultVisibleStates(ItemStateManager sm)
 {
     sm.AddDefaultVisibleState("Pressed");
     sm.AddDefaultVisibleState("Selected");
     sm.AddDefaultVisibleState("Selected.Pressed");
     sm.AddDefaultVisibleState("Selected.MouseOver");
 }
 protected override void AddDefaultVisibleStates(ItemStateManager sm)
 {
     sm.AddDefaultVisibleState("LeftStackPosition");
     sm.AddDefaultVisibleState("TopStackPosition");
     sm.AddDefaultVisibleState("RightStackPosition");
     sm.AddDefaultVisibleState("BottomStackPosition");
 }
Example #9
0
        protected override void AddDefaultVisibleStates(ItemStateManager sm)
        {
            base.AddDefaultVisibleStates(sm);

            sm.AddDefaultVisibleState("IsChildItem");
            sm.AddDefaultVisibleState("IsModified");
        }
 protected override void AddDefaultVisibleStates(ItemStateManager sm)
 {
     sm.AddDefaultVisibleState("FullRowSelect.Current");
     sm.AddDefaultVisibleState("FullRowSelect.Selected");
     sm.AddDefaultVisibleState("FullRowSelect.Selected.Current");
     sm.AddDefaultVisibleState("FullRowSelect.MouseOver");
     sm.AddDefaultVisibleState("ControlInactive.FullRowSelect.Selected.Current");
 }
        protected override ItemStateManagerBase CreateStateManager()
        {
            this.rootState = this.CreateRootState();
            ItemStateManager sm = this.CreateStateManagerCore();

            this.AddDefaultVisibleStates(sm);
            return(sm);
        }
Example #12
0
 protected override void AddDefaultVisibleStates(ItemStateManager sm)
 {
     sm.AddDefaultVisibleState("IsExpanded");
     sm.AddDefaultVisibleState("IsSelected");
     sm.AddDefaultVisibleState("IsSelected.IsExpanded");
     sm.AddDefaultVisibleState("HotTracking");
     sm.AddDefaultVisibleState("HotTracking.IsExpanded");
 }
 protected override void AddDefaultVisibleStates(ItemStateManager sm)
 {
     sm.AddDefaultVisibleState("IsRootNode");
     sm.AddDefaultVisibleState("IsCurrent");
     sm.AddDefaultVisibleState("IsSelected");
     sm.AddDefaultVisibleState("IsSelected.IsCurrent");
     sm.AddDefaultVisibleState("IsExpanded");
     sm.AddDefaultVisibleState("HasChildren");
 }
Example #14
0
 protected override void AddDefaultVisibleStates(ItemStateManager res)
 {
     res.AddDefaultVisibleState("MouseOver");
     res.AddDefaultVisibleState("Pressed");
     res.AddDefaultVisibleState("ScrollType=Vertical");
     res.AddDefaultVisibleState("ScrollType=Vertical.MouseOver");
     res.AddDefaultVisibleState("ScrollType=Vertical.Pressed");
     res.AddDefaultVisibleState("Disabled");
 }
Example #15
0
 protected override void AddDefaultVisibleStates(ItemStateManager sm)
 {
     base.AddDefaultVisibleStates(sm);
     sm.AddDefaultVisibleState("ExpandDirection=Down");
     sm.AddDefaultVisibleState("ExpandDirection=Up");
     sm.AddDefaultVisibleState("ExpandDirection=Left");
     sm.AddDefaultVisibleState("ExpandDirection=Right");
     sm.AddDefaultVisibleState("IsNotExpanded");
 }
 protected override void AddDefaultVisibleStates(ItemStateManager sm)
 {
     sm.AddDefaultVisibleState("Selected");
     sm.AddDefaultVisibleState("Pinned");
     sm.AddDefaultVisibleState("MouseOver");
     sm.AddDefaultVisibleState("MouseDown");
     sm.AddDefaultVisibleState("Preview");
     sm.AddDefaultVisibleState("RightToLeft");
     sm.AddDefaultVisibleState("Disabled");
 }
Example #17
0
 protected override void AddDefaultVisibleStates(ItemStateManager sm)
 {
     base.AddDefaultVisibleStates(sm);
     sm.AddDefaultVisibleState("MouseOver");
     sm.AddDefaultVisibleState("MouseDown");
     sm.AddDefaultVisibleState("Disabled");
     sm.AddDefaultVisibleState("IsInactive");
     sm.AddDefaultVisibleState("IsChildItem");
     sm.AddDefaultVisibleState("IsSelected");
     sm.AddDefaultVisibleState("IsSelected" + (object)'.' + "IsExpanded");
     sm.AddDefaultVisibleState("IsInEditMode");
 }
        protected override ItemStateManagerBase CreateStateManager()
        {
            CompositeStateNode compositeStateNode = new CompositeStateNode("Mouse states");

            compositeStateNode.AddState((StateNodeBase) new StateNodeWithCondition("ContainsMouse", (Condition) new SimpleCondition(RadElement.ContainsMouseProperty, (object)true)));
            compositeStateNode.AddState((StateNodeBase) new StateNodeWithCondition("MouseOver", (Condition) new SimpleCondition(RadElement.IsMouseOverProperty, (object)true)));
            compositeStateNode.AddState((StateNodeBase) new StateNodeWithCondition("MouseDown", (Condition) new SimpleCondition(RadElement.IsMouseDownProperty, (object)true)));
            ItemStateManager itemStateManager = new ItemStateManager((StateNodeBase)compositeStateNode);

            itemStateManager.AddDefaultVisibleState("MouseOver");
            itemStateManager.AddDefaultVisibleState("MouseDown");
            return((ItemStateManagerBase)itemStateManager);
        }
Example #19
0
 protected override void AddDefaultVisibleStates(ItemStateManager res)
 {
     res.AddDefaultVisibleState("MouseOver");
     res.AddDefaultVisibleState("Pressed");
     res.AddDefaultVisibleState("ToggleState=On");
     res.AddDefaultVisibleState("ToggleState=On.MouseOver");
     res.AddDefaultVisibleState("ToggleState=On.Pressed");
     res.AddDefaultVisibleState("ToggleState=Intermediate");
     res.AddDefaultVisibleState("ToggleState=Intermediate.MouseOver");
     res.AddDefaultVisibleState("ToggleState=Intermediate.Pressed");
     res.AddDefaultVisibleState("Disabled");
     res.AddDefaultVisibleState("Disabled.ToggleState=On");
     res.AddDefaultVisibleState("Disabled.ToggleState=Intermediate");
 }
Example #20
0
 protected override void AddDefaultVisibleStates(ItemStateManager sm)
 {
     sm.AddDefaultVisibleState("Focused");
     sm.AddDefaultVisibleState("MouseOver");
 }
 protected override void AddDefaultVisibleStates(ItemStateManager sm)
 {
     sm.AddDefaultVisibleState("RightToLeft");
 }
Example #22
0
 protected override void AddDefaultVisibleStates(ItemStateManager sm)
 {
     sm.AddDefaultVisibleState("ContainsFocus");
     sm.AddDefaultVisibleState("ContainsMouse");
     sm.AddDefaultVisibleState("Disabled");
 }
 protected override void AddDefaultVisibleStates(ItemStateManager sm)
 {
     base.AddDefaultVisibleStates(sm);
     sm.AddDefaultVisibleState("IsDropDownShown");
 }
Example #24
0
 protected override void AddDefaultVisibleStates(ItemStateManager sm)
 {
     sm.AddDefaultVisibleState("Disabled");
 }
 protected override void AddDefaultVisibleStates(ItemStateManager sm)
 {
     base.AddDefaultVisibleStates(sm);
     sm.AddDefaultVisibleState("IsOwnMessage");
 }
        protected virtual ItemStateManager CreateStateManagerCore()
        {
            ItemStateManager sm = new ItemStateManager(this.RootState);

            return(sm);
        }
Example #27
0
 protected override void AddDefaultVisibleStates(ItemStateManager sm)
 {
     sm.AddDefaultVisibleState("LogicalOperator=And");
     sm.AddDefaultVisibleState("LogicalOperator=Or");
     base.AddDefaultVisibleStates(sm);
 }
 protected virtual void AddDefaultVisibleStates(ItemStateManager sm)
 {
     sm.AddDefaultVisibleState("Disabled");
     sm.AddDefaultVisibleState("MouseOver");
     sm.AddDefaultVisibleState("MouseDown");
 }
 protected override void AddDefaultVisibleStates(ItemStateManager sm)
 {
     base.AddDefaultVisibleStates(sm);
     sm.AddDefaultVisibleState("IsFocusedWizardButton");
 }
Example #30
0
 protected override void AddDefaultVisibleStates(ItemStateManager sm)
 {
     sm.AddDefaultVisibleState("IsOn");
     base.AddDefaultVisibleStates(sm);
     sm.AddDefaultVisibleState("Disabled.IsOn");
 }