Class Settings
Inheritance
Inherited Members
Namespace: System
Assembly: OpenSilver.dll
Syntax
public class Settings
Constructors
| Improve this Doc View SourceSettings()
Declaration
public Settings()
Properties
| Improve this Doc View SourceDefaultResourceLookupMode
Declaration
public InheritanceBehavior DefaultResourceLookupMode { get; set; }
Property Value
Type | Description |
---|---|
InheritanceBehavior |
DefaultSoapCredentialsMode
Declaration
public CredentialsMode DefaultSoapCredentialsMode { get; set; }
Property Value
Type | Description |
---|---|
CredentialsMode |
EnableAutoZoom
Gets or sets a value that indicates whether the Silverlight plug-in will resize its content based on the current browser zoom setting.
Declaration
[NotImplemented]
public bool EnableAutoZoom { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if Silverlight responds to the browser zoom setting; otherwise, false. The default is true. |
EnableBindingErrorsLogging
Declaration
public bool EnableBindingErrorsLogging { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableBindingErrorsThrowing
Declaration
public bool EnableBindingErrorsThrowing { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableCacheVisualization
Gets or sets a value that indicates whether to use a non-production analysis visualization mode, which shows areas of a page that are not being GPU accelerated with a colored overlay. Do not use in production code.
Declaration
[NotImplemented]
public bool EnableCacheVisualization { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if cache visualization is enabled; otherwise, false. |
EnableFrameRateCounter
Gets or sets a value that indicates whether to display the current frame rate in the hosting browser's status bar. (Microsoft Internet Explorer only.)
Declaration
[NotImplemented]
public bool EnableFrameRateCounter { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the frames-per-second (fps) of the current rendered Silverlight content will be displayed in the hosting browser's status bar; otherwise, false. The default is false. |
EnableGPUAcceleration
Gets a value that indicates whether to use graphics processor unit (GPU) hardware acceleration for cached compositions, which potentially results in graphics optimization.
Declaration
[NotImplemented]
public bool EnableGPUAcceleration { get; }
Property Value
Type | Description |
---|---|
System.Boolean | true if hardware acceleration is enabled; otherwise, false. |
EnableHTMLAccess
Gets a value that indicates whether the Silverlight plug-in allows hosted content or its runtime to access the HTML DOM.
Declaration
public bool EnableHTMLAccess { get; }
Property Value
Type | Description |
---|---|
System.Boolean | true if hosted content can access the browser DOM; otherwise, false. |
EnableInteropLogging
Declaration
public bool EnableInteropLogging { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableInvalidPropertyMetadataDefaultValueExceptions
Declaration
public bool EnableInvalidPropertyMetadataDefaultValueExceptions { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableOptimizationWhereCollapsedControlsAreNotRendered
When True, do not apply the CSS properties of the UI elements that are not visible. Those property are applied later, when the control becomes visible. Enabling this option results in improved performance.
Declaration
public bool EnableOptimizationWhereCollapsedControlsAreNotRendered { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnablePerformanceLogging
Declaration
public bool EnablePerformanceLogging { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableRedrawRegions
Gets or sets a value that indicates whether to show the areas of the Silverlight plug-in that are being redrawn each frame.
Declaration
[NotImplemented]
public bool EnableRedrawRegions { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the areas of the plug-in that are being redrawn each frame are shown; otherwise, false. |
EnableWebRequestsLogging
Declaration
public bool EnableWebRequestsLogging { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
MaxFrameRate
Gets or sets the maximum number of frames to render per second.
Declaration
public int MaxFrameRate { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | An integer value that specifies the maximum number of frames to render per second. The default value is 60. |
ProgressiveRenderingChunkSize
Gets or sets the number of children in a Panel to render progressively in a batch. Setting this option can improve performance. Value of 0 or less means progressive rendering is disabled. The default value is 0.
Declaration
public int ProgressiveRenderingChunkSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
A value close to 1 can break UI in some cases.
ScrollDebounce
Declaration
public TimeSpan ScrollDebounce { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
Windowless
Gets a value that indicates whether the Silverlight plug-in displays as a windowless plug-in. (Applies to Windows versions of Silverlight only.)
Declaration
public bool Windowless { get; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the Silverlight plug-in displays as a windowless plug-in; otherwise, false. |