protected override void CreateChildElements() { base.CreateChildElements(); this.expanderItem = (ExpanderItem) new VirtualGridExpanderItem(); this.expanderItem.StretchHorizontally = this.expanderItem.StretchVertically = true; this.Children.Add((RadElement)this.expanderItem); }
protected override void CreateChildElements() { base.CreateChildElements(); this.expanderItem = new ExpanderItem(); this.expanderItem.FitToSizeMode = RadFitToSizeMode.FitToParentBounds; this.expanderItem.DrawSignBorder = true; this.expanderItem.DrawSignFill = false; this.expanderItem.SignSize = (SizeF) new Size(9, 9); this.expanderItem.SignPadding = new Padding(1, 1, 1, 1); this.expanderItem.SignBorderColor = Color.LightGray; this.expanderItem.SignBorderWidth = 1f; this.expanderItem.ForeColor = Color.Black; this.expanderItem.SignStyle = SignStyles.PlusMinus; this.expanderItem.SignBorderColor = Color.Gray; this.expanderItem.ShowHorizontalLine = false; this.expanderItem.NotifyParentOnMouseInput = true; this.expanderItem.DrawFill = false; this.expanderItem.DrawBorder = false; this.expanderItem.PropertyChanged += new PropertyChangedEventHandler(this.expanderItem_PropertyChanged); this.Children.Add((RadElement)this.expanderItem); }