protected virtual RadPopupControlBase CreatePopupForm() { RadEditorPopupControlBase popupControlBase = new RadEditorPopupControlBase((RadItem)this); popupControlBase.VerticalAlignmentCorrectionMode = AlignmentCorrectionMode.SnapToOuterEdges; this.WirePopupFormEvents((RadPopupControlBase)popupControlBase); return((RadPopupControlBase)popupControlBase); }
protected override RadPopupControlBase CreatePopupForm() { LightVisualElement lightVisualElement = new LightVisualElement(); lightVisualElement.DrawFill = false; this.popup = (RadEditorPopupControlBase) new RadPopupContainerForm((RadItem)this); int num1 = (int)this.popup.SizingGrip.SetDefaultValueOverride(RadElement.MinSizeProperty, (object)new Size(0, 10)); this.popup.SizingGrip.ZIndex = 100; this.popup.SizingGripDockLayout.Children.Add((RadElement)lightVisualElement); this.popup.SizingMode = SizingMode.UpDownAndRightBottom; this.popup.SizingGrip.ElementTree.Control.BringToFront(); this.popup.AnimationEnabled = false; int num2 = (int)this.containerElement.TextBox.BindProperty(VisualElement.BackColorProperty, (RadObject)this.fillPrimitive, VisualElement.BackColorProperty, PropertyBindingOptions.TwoWay); this.WireEvents(); return((RadPopupControlBase)this.popup); }