protected override StateNodeBase CreateSpecificStates() { CompositeStateNode compositeStateNode1 = new CompositeStateNode("Cell States"); StateNodeWithCondition nodeWithCondition1 = new StateNodeWithCondition("Selected", (Condition) new SimpleCondition(CalendarCellElement.SelectedProperty, (object)true)); StateNodeWithCondition nodeWithCondition2 = new StateNodeWithCondition("MouseOver", (Condition) new SimpleCondition(RadElement.IsMouseOverProperty, (object)true)); StateNodeWithCondition nodeWithCondition3 = new StateNodeWithCondition("MouseDown", (Condition) new SimpleCondition(RadElement.IsMouseDownProperty, (object)true)); nodeWithCondition2.FalseStateLink = (StateNodeBase) new StateNodeWithCondition("Focused", (Condition) new SimpleCondition(CalendarCellElement.FocusedProperty, (object)true)); CompositeStateNode compositeStateNode2 = new CompositeStateNode("mouse state tree"); compositeStateNode2.AddState((StateNodeBase)nodeWithCondition2); compositeStateNode2.AddState((StateNodeBase)nodeWithCondition3); StateNodeWithCondition nodeWithCondition4 = new StateNodeWithCondition("Header", (Condition) new SimpleCondition(CalendarCellElement.IsHeaderCellProperty, (object)true)); compositeStateNode1.AddState((StateNodeBase)nodeWithCondition4); compositeStateNode1.AddState((StateNodeBase)nodeWithCondition1); compositeStateNode1.AddState((StateNodeBase)compositeStateNode2); CompositeStateNode compositeStateNode3 = new CompositeStateNode("Day cells"); nodeWithCondition4.FalseStateLink = (StateNodeBase)compositeStateNode3; StateNodeWithCondition nodeWithCondition5 = new StateNodeWithCondition("OutOfRange", (Condition) new SimpleCondition(CalendarCellElement.OutOfRangeProperty, (object)true)); StateNodeWithCondition nodeWithCondition6 = new StateNodeWithCondition("OtherMonth", (Condition) new SimpleCondition(CalendarCellElement.OtherMonthProperty, (object)true)); StateNodeWithCondition nodeWithCondition7 = new StateNodeWithCondition("Weekend", (Condition) new SimpleCondition(CalendarCellElement.WeekEndProperty, (object)true)); StateNodeWithCondition nodeWithCondition8 = new StateNodeWithCondition("SpecialDay", (Condition) new SimpleCondition(CalendarCellElement.SpecialDayProperty, (object)true)); StateNodeWithCondition nodeWithCondition9 = new StateNodeWithCondition("Today", (Condition) new SimpleCondition(CalendarCellElement.TodayProperty, (object)true)); compositeStateNode3.AddState((StateNodeBase)nodeWithCondition5); compositeStateNode3.AddState((StateNodeBase)nodeWithCondition6); compositeStateNode3.AddState((StateNodeBase)nodeWithCondition9); compositeStateNode3.AddState((StateNodeBase)nodeWithCondition7); compositeStateNode3.AddState((StateNodeBase)nodeWithCondition8); return((StateNodeBase)compositeStateNode1); }
protected StateNodeBase CreateCollapseStates() { StateNodeWithCondition collapsibleState = new StateNodeWithCondition("Collapsible", new SimpleCondition(RadListVisualGroupItem.CollapsibleProperty, true)); StateNodeWithCondition collapsedState = new StateNodeWithCondition("Collapsed", new SimpleCondition(RadListVisualGroupItem.CollapsedProperty, true)); CompositeStateNode collapseStates = new CompositeStateNode("list group header item states"); collapseStates.AddState(collapsibleState); collapseStates.AddState(collapsedState); return(collapseStates); }
protected override StateNodeBase CreateSpecificStates() { StateNodeWithCondition nodeWithCondition1 = new StateNodeWithCondition("IsExpanded", (Condition) new SimpleCondition(ExpanderItem.ExpandedProperty, (object)true)); StateNodeWithCondition nodeWithCondition2 = new StateNodeWithCondition("HotTracking", (Condition) new SimpleCondition(TreeNodeElement.HotTrackingProperty, (object)true)); CompositeStateNode compositeStateNode = new CompositeStateNode("ExpanderElement States"); compositeStateNode.AddState((StateNodeBase)nodeWithCondition1); compositeStateNode.AddState((StateNodeBase)nodeWithCondition2); return((StateNodeBase)compositeStateNode); }
protected override StateNodeBase CreateSpecificStates() { CompositeStateNode nodes = new CompositeStateNode("InnerItem states"); StateNodeWithCondition stateNode = new StateNodeWithCondition("IsBackstageMode", new SimpleCondition(RadRibbonBarElement.IsBackstageModeProperty, true)); nodes.AddState(stateNode); stateNode = new StateNodeWithCondition("RightToLeft", new SimpleCondition(RadRibbonBarElement.RightToLeftProperty, true)); nodes.AddState(stateNode); return(nodes); }
protected override StateNodeBase CreateSpecificStates() { StateNodeBase state1 = (StateNodeBase) new StateNodeWithCondition("IsInEditMode", (Condition) new SimpleCondition(GridDataCellElement.IsInEditModeProperty, (object)true)); StateNodeBase state2 = (StateNodeBase) new StateNodeWithCondition("IsLastDataCell", (Condition) new SimpleCondition(GridDataCellElement.IsLastDataCellProperty, (object)true)); CompositeStateNode specificStates = (CompositeStateNode)base.CreateSpecificStates(); specificStates.AddState(state1); specificStates.AddState(state2); return((StateNodeBase)specificStates); }
protected override StateNodeBase CreateSpecificStates() { StateNodeWithCondition nodeWithCondition1 = new StateNodeWithCondition("Current", (Condition) new SimpleCondition(DetailListViewCellElement.CurrentProperty, (object)true)); StateNodeWithCondition nodeWithCondition2 = new StateNodeWithCondition("IsSorted", (Condition) new SimpleCondition(DetailListViewCellElement.IsSortedProperty, (object)true)); CompositeStateNode compositeStateNode = new CompositeStateNode("ListViewCellElement states"); compositeStateNode.AddState((StateNodeBase)nodeWithCondition1); compositeStateNode.AddState((StateNodeBase)nodeWithCondition2); return((StateNodeBase)compositeStateNode); }
protected override StateNodeBase CreateEnabledStates() { CompositeStateNode compositeStateNode = new CompositeStateNode("Base States"); StateNodeBase state1 = (StateNodeBase) new StateNodeWithCondition("IsVertical", (Condition) new SimpleCondition(SplitterElementLayout.IsVerticalProperty, (object)true)); StateNodeBase state2 = (StateNodeBase) new StateNodeWithCondition("UseSplitterButtons", (Condition) new SimpleCondition(SplitterElementLayout.UseSplitterButtonsProperty, (object)true)); compositeStateNode.AddState(state1); compositeStateNode.AddState(state2); return((StateNodeBase)compositeStateNode); }
protected override StateNodeBase CreateSpecificStates() { StateNodeWithCondition nodeWithCondition1 = new StateNodeWithCondition("HasOverflowedItems", (Condition) new SimpleCondition(RadCommandBarOverflowButton.HasOverflowedItemsProperty, (object)true)); StateNodeWithCondition nodeWithCondition2 = new StateNodeWithCondition("IsDropDownShown", (Condition) new SimpleCondition(RadDropDownButtonElement.IsDropDownShownProperty, (object)true)); CompositeStateNode compositeStateNode = new CompositeStateNode("command bar overflow button states"); compositeStateNode.AddState((StateNodeBase)nodeWithCondition1); compositeStateNode.AddState((StateNodeBase)nodeWithCondition2); return((StateNodeBase)compositeStateNode); }
protected override StateNodeBase CreateSpecificStates() { StateNodeWithCondition nodeWithCondition1 = new StateNodeWithCondition("Selected", (Condition) new SimpleCondition(GanttViewBaseItemElement.SelectedProperty, (object)true)); StateNodeWithCondition nodeWithCondition2 = new StateNodeWithCondition("Current", (Condition) new SimpleCondition(GanttViewBaseItemElement.CurrentProperty, (object)true)); CompositeStateNode compositeStateNode = new CompositeStateNode("Gantt view base item element states"); compositeStateNode.AddState((StateNodeBase)nodeWithCondition1); compositeStateNode.AddState((StateNodeBase)nodeWithCondition2); return((StateNodeBase)compositeStateNode); }
protected override StateNodeBase CreateSpecificStates() { StateNodeBase state1 = (StateNodeBase) new StateNodeWithCondition("IsWelcomePage", (Condition) new SimpleCondition(BaseWizardElement.IsWelcomePageProperty, (object)true)); StateNodeBase state2 = (StateNodeBase) new StateNodeWithCondition("IsCompletionPage", (Condition) new SimpleCondition(BaseWizardElement.IsCompletionPageProperty, (object)true)); CompositeStateNode compositeStateNode = new CompositeStateNode("all states"); compositeStateNode.AddState(state1); compositeStateNode.AddState(state2); return((StateNodeBase)compositeStateNode); }
protected StateNodeBase CreateCollapseStates() { StateNodeWithCondition nodeWithCondition1 = new StateNodeWithCondition("Collapsible", (Condition) new SimpleCondition(RadListVisualGroupItem.CollapsibleProperty, (object)true)); StateNodeWithCondition nodeWithCondition2 = new StateNodeWithCondition("Collapsed", (Condition) new SimpleCondition(RadListVisualGroupItem.CollapsedProperty, (object)true)); CompositeStateNode compositeStateNode = new CompositeStateNode("list group header item states"); compositeStateNode.AddState((StateNodeBase)nodeWithCondition1); compositeStateNode.AddState((StateNodeBase)nodeWithCondition2); return((StateNodeBase)compositeStateNode); }
protected override StateNodeBase CreateSpecificStates() { StateNodeBase state1 = (StateNodeBase) new StateNodeWithCondition("Focused", (Condition) new SimpleCondition(RadElement.IsFocusedProperty, (object)true)); StateNodeBase state2 = (StateNodeBase) new StateNodeWithCondition("MouseOver", (Condition) new SimpleCondition(RadElement.IsMouseOverProperty, (object)true)); CompositeStateNode compositeStateNode = new CompositeStateNode("TreeViewElement states"); compositeStateNode.AddState(state1); compositeStateNode.AddState(state2); return((StateNodeBase)compositeStateNode); }
protected override StateNodeBase CreateSpecificStates() { CompositeStateNode compositeStateNode = new CompositeStateNode("HeaderCellStates"); StateNodeWithCondition nodeWithCondition1 = new StateNodeWithCondition("IsSortedAscending", (Condition) new SimpleCondition(VirtualGridHeaderCellElement.IsSortedAscendingProperty, (object)true)); StateNodeWithCondition nodeWithCondition2 = new StateNodeWithCondition("IsSortedDescending", (Condition) new SimpleCondition(VirtualGridHeaderCellElement.IsSortedDescendingProperty, (object)true)); compositeStateNode.AddState((StateNodeBase)nodeWithCondition2); compositeStateNode.AddState((StateNodeBase)nodeWithCondition1); return((StateNodeBase)compositeStateNode); }
protected override StateNodeBase CreateSpecificStates() { StateNodeWithCondition nodeWithCondition1 = new StateNodeWithCondition("Selected", (Condition) new SimpleCondition(RadListVisualItem.SelectedProperty, (object)true)); StateNodeWithCondition nodeWithCondition2 = new StateNodeWithCondition("Active", (Condition) new SimpleCondition(RadListVisualItem.ActiveProperty, (object)true)); CompositeStateNode compositeStateNode = new CompositeStateNode("listbox item states"); compositeStateNode.AddState((StateNodeBase)nodeWithCondition1); compositeStateNode.AddState((StateNodeBase)nodeWithCondition2); return((StateNodeBase)compositeStateNode); }
protected override StateNodeBase CreateSpecificStates() { CompositeStateNode compositeStateNode = new CompositeStateNode("ExpanderItemStates"); StateNodeWithCondition nodeWithCondition1 = new StateNodeWithCondition("IsExpanded", (Condition) new SimpleCondition(ExpanderItem.ExpandedProperty, (object)true)); StateNodeWithCondition nodeWithCondition2 = new StateNodeWithCondition("IsRightToLeft", (Condition) new SimpleCondition(RadElement.RightToLeftProperty, (object)true)); compositeStateNode.AddState((StateNodeBase)nodeWithCondition1); compositeStateNode.AddState((StateNodeBase)nodeWithCondition2); return((StateNodeBase)compositeStateNode); }
protected override StateNodeBase CreateSpecificStates() { CompositeStateNode compositeStateNode = new CompositeStateNode("all states"); StateNodeWithCondition nodeWithCondition1 = new StateNodeWithCondition("IsSelected", (Condition) new SimpleCondition(TrackBarThumbElement.IsSelectedProperty, (object)true)); StateNodeWithCondition nodeWithCondition2 = new StateNodeWithCondition("IsVertical", (Condition) new SimpleCondition(TrackBarElementWithOrientation.IsVerticalProperty, (object)true)); compositeStateNode.AddState((StateNodeBase)nodeWithCondition1); compositeStateNode.AddState((StateNodeBase)nodeWithCondition2); return((StateNodeBase)compositeStateNode); }
protected override StateNodeBase CreateSpecificStates() { CompositeStateNode compositeStateNode = new CompositeStateNode("FilterButtonStates"); StateNodeWithCondition nodeWithCondition1 = new StateNodeWithCondition("IsFilterMenuShown", (Condition) new SimpleCondition(VirtualGridFilterButtonElement.IsFilterMenuShownProperty, (object)true)); StateNodeWithCondition nodeWithCondition2 = new StateNodeWithCondition("IsFilterApplied", (Condition) new SimpleCondition(VirtualGridFilterCellElement.IsFilterAppliedProperty, (object)true)); compositeStateNode.AddState((StateNodeBase)nodeWithCondition2); compositeStateNode.AddState((StateNodeBase)nodeWithCondition1); return((StateNodeBase)compositeStateNode); }
protected override StateNodeBase CreateSpecificStates() { StateNodeWithCondition expandedState = new StateNodeWithCondition("IsExpanded", new SimpleCondition(ExpanderItem.ExpandedProperty, true)); StateNodeWithCondition hotTracking = new StateNodeWithCondition("HotTracking", new SimpleCondition(TreeNodeElement.HotTrackingProperty, true)); CompositeStateNode compositeNode = new CompositeStateNode("ExpanderElement States"); compositeNode.AddState(expandedState); compositeNode.AddState(hotTracking); return(compositeNode); }
protected override StateNodeBase CreateSpecificStates() { CompositeStateNode compositeStateNode = new CompositeStateNode("InnerItem states"); StateNodeWithCondition nodeWithCondition1 = new StateNodeWithCondition("IsBackstageMode", (Condition) new SimpleCondition(RadRibbonBarElement.IsBackstageModeProperty, (object)true)); compositeStateNode.AddState((StateNodeBase)nodeWithCondition1); StateNodeWithCondition nodeWithCondition2 = new StateNodeWithCondition("RightToLeft", (Condition) new SimpleCondition(RadElement.RightToLeftProperty, (object)true)); compositeStateNode.AddState((StateNodeBase)nodeWithCondition2); return((StateNodeBase)compositeStateNode); }
protected override StateNodeBase CreateSpecificStates() { CompositeStateNode compositeStateNode = new CompositeStateNode("Enabled States"); StateNodeBase state1 = (StateNodeBase) new StateNodeWithCondition("ContainsFocus", (Condition) new SimpleCondition(RadElement.ContainsFocusProperty, (object)true)); compositeStateNode.AddState(state1); StateNodeBase state2 = (StateNodeBase) new StateNodeWithCondition("ContainsMouse", (Condition) new SimpleCondition(RadElement.ContainsMouseProperty, (object)true)); compositeStateNode.AddState(state2); return((StateNodeBase)compositeStateNode); }
protected override StateNodeBase CreateSpecificStates() { StateNodeBase isWelcomePage = new StateNodeWithCondition("IsWelcomePage", new SimpleCondition(BaseWizardElement.IsWelcomePageProperty, true)); StateNodeBase isCompletionPage = new StateNodeWithCondition("IsCompletionPage", new SimpleCondition(BaseWizardElement.IsCompletionPageProperty, true)); CompositeStateNode all = new CompositeStateNode("all states"); all.AddState(isWelcomePage); all.AddState(isCompletionPage); return(all); }
protected override StateNodeBase CreateSpecificStates() { CompositeStateNode compositeStateNode = new CompositeStateNode("Selected"); StateNodeWithCondition nodeWithCondition1 = new StateNodeWithCondition("Selected", (Condition) new SimpleCondition(RadMenuItemBase.SelectedProperty, (object)true)); compositeStateNode.AddState((StateNodeBase)nodeWithCondition1); StateNodeWithCondition nodeWithCondition2 = new StateNodeWithCondition("IsPopupShown", (Condition) new SimpleCondition(RadMenuItemBase.IsPopupShownProperty, (object)true)); compositeStateNode.AddState((StateNodeBase)nodeWithCondition2); return((StateNodeBase)compositeStateNode); }
protected override StateNodeBase CreateSpecificStates() { CompositeStateNode selectedComposite = new CompositeStateNode("Selected"); StateNodeWithCondition isSelected = new StateNodeWithCondition("Selected", new SimpleCondition(RadMenuItemBase.SelectedProperty, true)); selectedComposite.AddState(isSelected); StateNodeWithCondition isPopupShown = new StateNodeWithCondition("IsPopupShown", new SimpleCondition(RadMenuItemBase.IsPopupShownProperty, true)); selectedComposite.AddState(isPopupShown); return(selectedComposite); }
protected override StateNodeBase CreateSpecificStates() { StateNodeWithCondition selected = new StateNodeWithCondition("Selected", new SimpleCondition(RadListBoxItem.SelectedProperty, true)); StateNodeWithCondition active = new StateNodeWithCondition("Active", new SimpleCondition(RadListBoxItem.ActiveProperty, true)); CompositeStateNode all = new CompositeStateNode("listbox item states"); all.AddState(selected); all.AddState(active); return(all); }
protected override StateNodeBase CreateSpecificStates() { StateNodeWithCondition overflowedState = new StateNodeWithCondition("HasOverflowedItems", new SimpleCondition(RadCommandBarOverflowButton.HasOverflowedItemsProperty, true)); StateNodeWithCondition dropDownOpenedState = new StateNodeWithCondition("IsDropDownShown", new SimpleCondition(RadDropDownButtonElement.IsDropDownShownProperty, true)); CompositeStateNode all = new CompositeStateNode("command bar overflow button states"); all.AddState(overflowedState); all.AddState(dropDownOpenedState); return(all); }
protected override StateNodeBase CreateSpecificStates() { CompositeStateNode compositeNode = new CompositeStateNode("SeparatorStates"); StateNodeWithCondition stateNodeHorizontal = new StateNodeWithCondition("HorizontalOrientation", new SimpleCondition(RibbonBarGroupSeparator.OrientationProperty, Orientation.Horizontal)); StateNodeWithCondition stateNodeVertical = new StateNodeWithCondition("VerticalOrientation", new SimpleCondition(RibbonBarGroupSeparator.OrientationProperty, Orientation.Vertical)); stateNodeHorizontal.FalseStateLink = stateNodeVertical; compositeNode.AddState(stateNodeHorizontal); compositeNode.AddState(stateNodeVertical); return(compositeNode); }
protected override StateNodeBase CreateEnabledStates() { CompositeStateNode baseStates = new CompositeStateNode("Base States"); StateNodeBase mouseOver = new StateNodeWithCondition("MouseOver", new SimpleCondition(RadElement.IsMouseOverProperty, true)); StateNodeBase mouseDown = new StateNodeWithCondition("MouseDown", new SimpleCondition(RadElement.IsMouseDownProperty, true)); baseStates.AddState(mouseOver); baseStates.AddState(mouseDown); return(baseStates); }
protected override StateNodeBase CreateSpecificStates() { CompositeStateNode compositeStateNode = new CompositeStateNode("SeparatorStates"); StateNodeWithCondition nodeWithCondition1 = new StateNodeWithCondition("HorizontalOrientation", (Condition) new SimpleCondition(RibbonBarGroupSeparator.OrientationProperty, (object)Orientation.Horizontal)); StateNodeWithCondition nodeWithCondition2 = new StateNodeWithCondition("VerticalOrientation", (Condition) new SimpleCondition(RibbonBarGroupSeparator.OrientationProperty, (object)Orientation.Vertical)); nodeWithCondition1.FalseStateLink = (StateNodeBase)nodeWithCondition2; compositeStateNode.AddState((StateNodeBase)nodeWithCondition1); compositeStateNode.AddState((StateNodeBase)nodeWithCondition2); return((StateNodeBase)compositeStateNode); }
protected override StateNodeBase CreateSpecificStates() { StateNodeWithCondition currentState = new StateNodeWithCondition("Current", new SimpleCondition(DetailListViewCellElement.CurrentProperty, true)); StateNodeWithCondition sortedState = new StateNodeWithCondition("IsSorted", new SimpleCondition(DetailListViewCellElement.IsSortedProperty, true)); CompositeStateNode all = new CompositeStateNode("ListViewCellElement states"); all.AddState(currentState); all.AddState(sortedState); return(all); }
protected override StateNodeBase CreateSpecificStates() { CompositeStateNode compositeNode = (CompositeStateNode)base.CreateSpecificStates(); StateNodeWithCondition childState = new StateNodeWithCondition("IsChildItem", new SimpleCondition(PropertyGridItemElement.IsChildItemProperty, true)); StateNodeWithCondition modifiedState = new StateNodeWithCondition("IsModified", new SimpleCondition(PropertyGridItemElement.IsModifiedProperty, true)); compositeNode.AddState(childState); compositeNode.AddState(modifiedState); return(compositeNode); }