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 SourceDefaultSoapCredentialsMode
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 if there is no handler for the Zoomed event; otherwise, the default is false. |
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
[NotImplemented]
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 |
EnableOptimizationWhereCollapsedControlsAreLoadedLast
Wait a few moments before creating the DOM elements for the UI elements that are not visible. The goal is to give the time to the browser engine to draw the visible ones, in order to improve the perceived performance. The DOM elements are created immediately after the browser engine has finished drawing (when the UI thread is available).
Declaration
public bool EnableOptimizationWhereCollapsedControlsAreLoadedLast { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
EnableOptimizationWhereCollapsedControlsAreNotLoaded
When True, do not create the DOM elements for the UI elements that are not visible. The DOM elements are created later, when the control becomes visible. Enabling this option results in significantly improved performance if there are many hidden elements.
Declaration
public bool EnableOptimizationWhereCollapsedControlsAreNotLoaded { 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 |
EnableProgressiveRendering
Declaration
public bool EnableProgressiveRendering { 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
[NotImplemented]
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. |
PopupMoveDelay
Gets or sets the interval between each refresh of the position an element attached to another (for example Popups or Tooltips attached to a certain element). Note: A refresh interval too low might negatively impact performances
Declaration
public TimeSpan PopupMoveDelay { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
ScrollDebounce
Declaration
public TimeSpan ScrollDebounce { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
UseResizeSensor
Gets or sets a value determining whether or not to use the resizeSensor.js library instead of the ResizeObserver API to listen for size change event in Html.
Declaration
public bool UseResizeSensor { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Should probably be removed once we get the ResizeObserver fully working.
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. |