Class Settings
Definition
- Assembly:
- Tizen.WebView.dll
This class provides the properties for setting the preference of a specific WebView.
public class Settings
- Inheritance
-
objectSettings
Properties
View SourceDefaultFontSize
The default font size of a pixel.
Declaration
public int DefaultFontSize { get; set; }
Property Value
Type | Description |
---|---|
int |
DefaultTextEncodingName
The default text encoding name.
Declaration
public string DefaultTextEncodingName { get; set; }
Property Value
Type | Description |
---|---|
string |
ForceZoom
Enable or Disable force zoom.
Declaration
public bool ForceZoom { get; set; }
Property Value
Type | Description |
---|---|
bool |
JavaScriptEnabled
Whether the JavaScript can be executed.
Declaration
public bool JavaScriptEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
LoadImageAutomatically
Whether the images can be loaded automatically.
Declaration
public bool LoadImageAutomatically { get; set; }
Property Value
Type | Description |
---|---|
bool |
ScriptsCanOpenWindows
Whether the scripts can open windows.
Declaration
public bool ScriptsCanOpenWindows { get; set; }
Property Value
Type | Description |
---|---|
bool |
TextAutosizing
Enable or Disable text autosizing.
Declaration
public bool TextAutosizing { get; set; }
Property Value
Type | Description |
---|---|
bool |
TextZoom
Enable or Disable text zoom.
Declaration
public bool TextZoom { get; set; }
Property Value
Type | Description |
---|---|
bool |
UseKeypadWithoutUserAction
Enable or Disable the usage of keypad without user action.
Declaration
public bool UseKeypadWithoutUserAction { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
View SourceGetExtraFeatureStatus(string)
Get status of Extra feature such as "edge,enable", "zoom,enable", "longpress,enable" "doubletap,enable" and "selection,magnifier".
Declaration
public bool GetExtraFeatureStatus(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the feature user wants to know status. |
Returns
Type | Description |
---|---|
bool | Status true or false is returned. |
SetExtraFeature(string, bool)
Enable or Disable Extra feature such as "edge,enable", "zoom,enable", "longpress,enable" "doubletap,enable" and "selection,magnifier".
Declaration
public void SetExtraFeature(string name, bool enable)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the feature user wants to set or reset. |
bool | enable | The boolean value to set or reset. |