Ejemplo n.º 1
0
        protected void UpdateElementsState(WaitingBarIndicatorElement indicator)
        {
            bool isVertical = IsVertical();

            indicator.SetValue(WaitingBarIndicatorElement.IsVerticalProperty, isVertical);
            indicator.SeparatorElement.SetValue(WaitingBarSeparatorElement.IsVerticalProperty, isVertical);
        }
Ejemplo n.º 2
0
        protected virtual void UpdateElementsState(ProgressOrientation direction)
        {
            bool flag = false;

            if (direction == ProgressOrientation.Top || direction == ProgressOrientation.Bottom)
            {
                flag = true;
            }
            int num1 = (int)this.SetValue(RadWaitingBarElement.IsVerticalProperty, (object)flag);

            if (!this.ContentElement.IsOldWaitingStyle)
            {
                return;
            }
            int num2 = (int)this.SeparatorElement.SetValue(WaitingBarSeparatorElement.IsVerticalProperty, (object)flag);

            for (int index = 0; index < this.WaitingIndicators.Count; ++index)
            {
                WaitingBarIndicatorElement waitingIndicator = this.WaitingIndicators[index] as WaitingBarIndicatorElement;
                int num3 = (int)waitingIndicator.SetValue(WaitingBarIndicatorElement.IsVerticalProperty, (object)flag);
                int num4 = (int)waitingIndicator.SeparatorElement.SetValue(WaitingBarSeparatorElement.IsVerticalProperty, (object)flag);
            }
        }
Ejemplo n.º 3
0
 protected void UpdateElementsState(WaitingBarIndicatorElement indicator)
 {
     bool flag = this.IsVertical();
     int  num1 = (int)indicator.SetValue(WaitingBarIndicatorElement.IsVerticalProperty, (object)flag);
     int  num2 = (int)indicator.SeparatorElement.SetValue(WaitingBarSeparatorElement.IsVerticalProperty, (object)flag);
 }