public Form1() { InitializeComponent(); this.SetEnabledQsfbButton(QSFButtons.TransparentBackground | QSFButtons.ChangeTheme, false); this.strip = this.radPageView1.ViewElement as RadPageViewStripElement; this.strip.ItemDragMode = PageViewItemDragMode.Preview; ExamplesForm.FillComboFromEnum(this.stripAlignCombo, typeof(StripViewAlignment), this.strip.StripAlignment); ExamplesForm.FillComboFromEnum(this.itemAlignCombo, typeof(StripViewItemAlignment), this.strip.ItemAlignment); ExamplesForm.FillComboFromEnum(this.fitModeCombo, typeof(StripViewItemFitMode), this.strip.ItemFitMode); ExamplesForm.FillComboFromEnum(this.sizeModeCombo, typeof(PageViewItemSizeMode), this.strip.ItemSizeMode); ExamplesForm.FillComboFromEnum(this.orientationCombo, typeof(PageViewContentOrientation), this.strip.ItemContentOrientation); this.spacingSpin.Value = this.strip.ItemSpacing; foreach (RadPageViewPage page in this.radPageView1.Pages) { page.Image = PageViewImages.Images[this.imageIndex++]; page.Controls.Add(PageViewLabels.CreateLabel()); } this.radPageView1.NewPageRequested += radPageView1_NewPageRequested; }
protected override void OnLoad(EventArgs e) { base.OnLoad(e); ExamplesForm.FillComboFromEnum(this.animationTypeCombo, typeof(RadEasingType), this.strip.StripScrollingAnimation); ExamplesForm.CenterControlOnParent(this.view); }
public Form1() { InitializeComponent(); this.SetEnabledQsfbButton(QSFButtons.TransparentBackground, false); ExamplesForm.FillComboFromEnum(this.radDropDownList1, typeof(WaitingBarStyles), WaitingBarStyles.Indeterminate); this.radDropDownList1.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(radDropDownList1_SelectedIndexChanged); }
public Form1() { InitializeComponent(); this.radPageView1.Anchor = AnchorStyles.None; this.SetEnabledQsfbButton(QSFButtons.ChangeTheme | QSFButtons.TransparentBackground, false); ExamplesForm.FillComboFromEnum(this.viewModeCombo, typeof(PageViewMode), this.radPageView1.ViewMode); }