dbicMeter Send comments on this topic.
StyleFile Property
See Also 
dbicMeter Assembly > Dbi.WinControl.Meter Namespace > dbiMeter Class : StyleFile Property

If this property is set during design-time, the control will load the file indicated when it is instanced in run-time. If the file is not found then the control will simply ignore this property. This is useful for creating a unified look and feel for multiple instances.

Syntax

Visual Basic (Declaration) 
Public Overridable Property StyleFile As String
C# 
public virtual string StyleFile {get; set;}

Property Value

string

Remarks

This property will cause the control to load an XML file saved with WriteXMLFile Method or XMLWrite Property automatically when the control is instanced for the first time during run-time.

The XML files will only store string or numeric property settings. The XML file will not store image or object information.

Set during design-time only.

Requirements

Target Platforms: Current Windows operating system with .NET 8.

See Also