protected override void PaintOverride(Paint.IGraphics screenRadGraphics, Rectangle clipRectangle, float angle, SizeF scale, bool useRelativeTransformation) { base.PaintOverride(screenRadGraphics, clipRectangle, angle, scale, useRelativeTransformation); if (base.Visibility != ElementVisibility.Visible || this.Parent == null) { return; } WizardPageHeaderElement pageHeader = this.Parent as WizardPageHeaderElement; if (pageHeader == null) { return; } RadWizardElement owner = pageHeader.Owner; if (DWMAPI.IsCompositionEnabled && !this.IsDesignMode && owner != null && owner.OwnerControl != null && owner.Mode == WizardMode.Aero && owner.EnableAeroStyle) { TelerikPaintHelper.DrawGlowingText( (Graphics)screenRadGraphics.UnderlayGraphics, this.Text, this.Font, this.ControlBoundingRectangle, this.ForeColor, TextFormatFlags.EndEllipsis | TextFormatFlags.SingleLine | TextFormatFlags.HorizontalCenter | TextFormatFlags.VerticalCenter); } }
public Wizard97View(RadWizardElement wizardElement) { this.Owner = wizardElement; this.CommandArea.Owner = wizardElement; this.PageHeaderElement.Owner = wizardElement; this.PageHeaderElement.IconElement.Alignment = ContentAlignment.MiddleRight; this.AddPages(); }
protected override void CreateChildItems(RadElement parent) { base.CreateChildItems(parent); this.wizardElement = new RadWizardElement(); this.wizardElement.OwnerControl = this; this.WireEvents(); parent.Children.Add((RadElement)this.wizardElement); }
/// <summary> /// Creates a WizardAeroView instance. /// </summary> /// <param name="wizardElement">Owner of the element.</param> public WizardAeroView(RadWizardElement wizardElement) { base.Owner = wizardElement; base.CommandArea.Owner = wizardElement; this.topElement.Owner = wizardElement; base.PageHeaderElement.Owner = wizardElement; base.PageHeaderElement.IconElement.Alignment = ContentAlignment.MiddleLeft; base.AddPages(); }
/// <summary> /// Creates a WizardCommandArea element. /// </summary> /// <param name="wizardElement">Owner of the element.</param> public WizardCommandArea(RadWizardElement wizardElement) { base.Owner = wizardElement; }
public WizardPageCollection(RadWizardElement owner) { this.owner = owner; }
/// <summary> /// Creates a WizardAeroTopElement. /// </summary> /// <param name="wizardElement">Owner of the element.</param> public WizardAeroTopElement(RadWizardElement wizardElement) { base.Owner = wizardElement; }
public Wizard97CommandArea(RadWizardElement wizardElement) { this.Owner = wizardElement; }
public WizardAeroTopElement(RadWizardElement wizardElement) { this.Owner = wizardElement; }