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(); }
private StripViewButtons GetAutoButtons() { StripViewItemFitMode fitMode = (StripViewItemFitMode)this.GetValue(RadPageViewStripElement.ItemFitModeProperty); if (fitMode == StripViewItemFitMode.None || fitMode == StripViewItemFitMode.Fill) { return(StripViewButtons.VS2005Style); } return(StripViewButtons.VS2008Style); }