protected override void CreateChildElements() { base.CreateChildElements(); this.ContentArea.ThemeRole = "OutlookViewContentArea"; this.gripElement = new OutlookViewOverflowGrip(); this.gripElement.MinSize = new Size(0, 10); this.Children.Add((RadElement)this.gripElement); this.itemsContainer = new OverflowItemsContainer(this); this.itemsContainer.MinSize = new Size(0, 35); this.Children.Add((RadElement)this.itemsContainer); this.WireEvents(); int num1 = (int)this.itemsContainer.ShowMoreButtonsItem.BindProperty(RadButtonItem.ImageProperty, (RadObject)this, RadPageViewOutlookElement.ShowMoreButtonsImageProperty, PropertyBindingOptions.OneWay); int num2 = (int)this.itemsContainer.ShowFewerButtonsItem.BindProperty(RadButtonItem.ImageProperty, (RadObject)this, RadPageViewOutlookElement.ShowFewerButtonsImageProperty, PropertyBindingOptions.OneWay); }
protected override void CreateChildElements() { base.CreateChildElements(); this.ContentArea.ThemeRole = "OutlookViewContentArea"; this.gripElement = new OutlookViewOverflowGrip(); this.gripElement.MinSize = new System.Drawing.Size(0, 10); this.Children.Add(this.gripElement); this.itemsContainer = new OverflowItemsContainer(this); this.itemsContainer.MinSize = new Size(0, 35); this.Children.Add(this.itemsContainer); this.WireEvents(); this.itemsContainer.ShowMoreButtonsItem.BindProperty(RadMenuItem.ImageProperty, this, ShowMoreButtonsImageProperty, PropertyBindingOptions.OneWay); this.itemsContainer.ShowFewerButtonsItem.BindProperty(RadMenuItem.ImageProperty, this, ShowFewerButtonsImageProperty, PropertyBindingOptions.OneWay); }