Parameters
- local
- A Style object of the report element.
- external
- An external Style object obtained from the stylesheet. If this parameter is
null
, the default style will be used.
Return Value
A Style object representing the merged style.
null
, the default style will be used.
null
, the default style will be used.Style style = new Style { BackgroundColor = "White" }; Style newStyle = Style.Merge(style, null);
TextBox textBox = new TextBox(); textBox.Style.TextAlign = TextAlign.Justify; Style style = new Style { BackgroundColor = "Red" }; Style newStyle = Style.Merge(textBox.Style, style);