public void SupportDerivedFromLabel() => AssertExperimental(() => { DerivedFromLabel _ = new DerivedFromLabel() .TextLeft() .TextRight(); });
protected override void OnLoad(EventArgs e) { base.OnLoad(e); ToggleOriginalAuthor(false); UpdateControlBindings(); int maxLabelWidth = OriginalAuthorLabel.CalculateLabelWidth(); maxLabelWidth = Math.Max(maxLabelWidth, CreatedByLabel.CalculateLabelWidth()); maxLabelWidth = Math.Max(maxLabelWidth, DerivedFromLabel.CalculateLabelWidth()); OriginalAuthorLabel.LabelWidth = maxLabelWidth; CreatedByLabel.LabelWidth = maxLabelWidth; DerivedFromLabel.LabelWidth = maxLabelWidth; }