Click or drag to resize

StiStyle Class

Describes the class that contains a style for components.
Inheritance Hierarchy

Namespace:  Stimulsoft.Report
Assembly:  Stimulsoft.Report (in Stimulsoft.Report.dll) Version: 2019.3.1.0
Syntax
public class StiStyle : StiBaseStyle, IStiTextFormat

The StiStyle type exposes the following members.

Constructors
  NameDescription
Public methodStiStyle
Creates a new object of the type StiStyle.
Public methodStiStyle(String)
Creates a new object of the type StiStyle.
Public methodStiStyle(String, String)
Creates a new object of the type StiStyle.
Top
Properties
  NameDescription
Public propertyAllowUseBorderFormatting
Gets or sets a value which indicates whether a report engine can use Border formatting or not.
Public propertyAllowUseBorderSides
Gets or sets a value which indicates whether a report engine can use Border Sides or not.
Public propertyAllowUseBorderSidesFromLocation
Gets or sets a value which indicates whether a report engine can set border sides of a component depending on the component location.
Public propertyAllowUseBrush
Gets or sets a value which indicates whether a report engine can use Brush formatting or not.
Public propertyAllowUseFont
Gets or sets a value which indicates whether a report engine can use Font formatting or not.
Public propertyAllowUseHorAlignment
Gets or sets a value which indicates whether a report engine can use HorAlignment formatting or not.
Public propertyAllowUseImage
Gets or sets a value which indicates whether a report engine can use Image formatting or not.
Public propertyAllowUseNegativeTextBrush
Gets or sets a value which indicates whether a report engine can use NegativeTextBrush formatting or not.
Public propertyAllowUseTextBrush
Gets or sets a value which indicates whether a report engine can use TextBrush formatting or not.
Public propertyAllowUseTextFormat
Gets or sets a value which indicates whether a report engine can use Text Format.
Public propertyAllowUseVertAlignment
Gets or sets a value which indicates whether a report engine can use VertAlignment formatting or not.
Public propertyBorder
Gets or sets a border of the component.
Public propertyBrush
Gets or sets a brush to fill the style.
Public propertyCollectionName
Gets or sets a name of the styles collection.
(Inherited from StiBaseStyle.)
Public propertyComponentId (Overrides StiBaseStyleComponentId.)
Public propertyConditions
Gets or sets a collection of the style conditions.
(Inherited from StiBaseStyle.)
Public propertyDashboardName
Gets or sets a style name.
(Inherited from StiBaseStyle.)
Public propertyDescription
Gets or sets a style description.
(Inherited from StiBaseStyle.)
Public propertyFont
Gets or sets a font for drawing this style.
Public propertyHorAlignment
Gets or sets a horizontal alignment of the style.
Public propertyImage
Gets or sets an image to fill the Image property of the Image component.
Public propertyName
Gets or sets a style name.
(Inherited from StiBaseStyle.)
Public propertyNegativeTextBrush
Gets or sets a brush to draw the negative values.
Public propertyProperties (Inherited from StiService.)
Public propertyPropName (Inherited from StiBaseStyle.)
Public propertyServiceCategory (Inherited from StiService.)
Public propertyServiceEnabled (Inherited from StiService.)
Public propertyServiceInfo (Inherited from StiService.)
Public propertyServiceName (Inherited from StiService.)
Public propertyServiceType
Gets a service type.
(Inherited from StiBaseStyle.)
Public propertyTextBrush
Gets or sets a brush to draw the text.
Public propertyTextFormat
Gets or sets the format of the component.
Public propertyVertAlignment
Gets or sets a vertical alignment of the style.
Top
Methods
  NameDescription
Public methodClone (Overrides StiBaseStyleClone.)
Public methodDrawBox (Overrides StiBaseStyleDrawBox(Graphics, Rectangle, Boolean, Boolean).)
Public methodDrawStyle(Graphics, Rectangle, Boolean, Boolean) (Overrides StiBaseStyleDrawStyle(Graphics, Rectangle, Boolean, Boolean).)
Public methodDrawStyle(Graphics, Rectangle, DrawItemState, Boolean, Boolean)
Drawes the style on the specified graphics context.
(Inherited from StiBaseStyle.)
Public methodDrawStyleImage (Overrides StiBaseStyleDrawStyleImage(Graphics, Rectangle).)
Public methodEquals(Object) (Inherited from StiBaseStyle.)
Public methodEquals(Object, Boolean, Boolean) (Inherited from StiBaseStyle.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEvents (Inherited from StiBaseStyle.)
Public methodGetHashCode (Inherited from StiBaseStyle.)
Public methodGetProperties (Overrides StiBaseStyleGetProperties(IStiPropertyGrid, StiLevel).)
Public methodGetStyleFromComponent
Gets a style from the component.
(Overrides StiBaseStyleGetStyleFromComponent(StiComponent, StiStyleElements).)
Public methodGetStyleFromComponents
Gets a style from the components.
(Inherited from StiBaseStyle.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodIsPropertiesInitializedProtected (Inherited from StiService.)
Public methodIsPropertyPresent (Inherited from StiService.)
Public methodLoad(String)
Loads the style from a file.
(Inherited from StiBaseStyle.)
Public methodLoad(Stream)
Loads the style from the stream.
(Overrides StiBaseStyleLoad(Stream).)
Public methodLoadFromJsonObject (Overrides StiBaseStyleLoadFromJsonObject(JObject).)
Public methodLoadFromString
Loads the style from the string.
(Inherited from StiBaseStyle.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPackService (Inherited from StiService.)
Public methodSave(String)
Saves the style in the file.
(Inherited from StiBaseStyle.)
Public methodSave(Stream)
Saves the style in the stream.
(Overrides StiBaseStyleSave(Stream).)
Public methodSaveToJsonObject (Overrides StiBaseStyleSaveToJsonObject(StiJsonSaveMode).)
Public methodSaveToString
Saves the style to the string.
(Inherited from StiBaseStyle.)
Public methodSetStyleToComponent
Sets style to a component.
(Overrides StiBaseStyleSetStyleToComponent(StiComponent).)
Public methodToString
Returns string representation of the style.
(Inherited from StiBaseStyle.)
Top
See Also