Exemplo n.º 1
0
 public override void Update()
 {
     this.fitMode   = (StripViewItemFitMode)this.itemLayout.GetValue(RadPageViewStripElement.ItemFitModeProperty);
     this.align     = (StripViewAlignment)this.itemLayout.GetValue(RadPageViewStripElement.StripAlignmentProperty);
     this.itemAlign = (StripViewItemAlignment)this.itemLayout.GetValue(RadPageViewStripElement.ItemAlignmentProperty);
     base.Update();
 }
Exemplo n.º 2
0
        private StripViewButtons GetAutoButtons()
        {
            StripViewItemFitMode fitMode = (StripViewItemFitMode)this.GetValue(RadPageViewStripElement.ItemFitModeProperty);

            if (fitMode == StripViewItemFitMode.None ||
                fitMode == StripViewItemFitMode.Fill)
            {
                return(StripViewButtons.VS2005Style);
            }

            return(StripViewButtons.VS2008Style);
        }