Class Settings

Definition

Namespace:
Tizen.WebView
Assembly:
Tizen.WebView.dll
API Level:
4

This class provides the properties for setting the preference of a specific WebView.

C#
Copy
public class Settings : object
Inheritance
Settings

Properties

View Source

DefaultFontSize

The default font size of a pixel.

Declaration
C#
Copy
public int DefaultFontSize { get; set; }
Property Value
Type Description
Int32
API Level: 4
View Source

DefaultTextEncodingName

The default text encoding name.

Declaration
C#
Copy
public string DefaultTextEncodingName { get; set; }
Property Value
Type Description
String
API Level: 4
View Source

ForceZoom

Enable or Disable force zoom.

Declaration
C#
Copy
public bool ForceZoom { get; set; }
Property Value
Type Description
Boolean
API Level: 6
View Source

JavaScriptEnabled

Whether the JavaScript can be executed.

Declaration
C#
Copy
public bool JavaScriptEnabled { get; set; }
Property Value
Type Description
Boolean
API Level: 4
View Source

LoadImageAutomatically

Whether the images can be loaded automatically.

Declaration
C#
Copy
public bool LoadImageAutomatically { get; set; }
Property Value
Type Description
Boolean
API Level: 4
View Source

ScriptsCanOpenWindows

Whether the scripts can open windows.

Declaration
C#
Copy
public bool ScriptsCanOpenWindows { get; set; }
Property Value
Type Description
Boolean
API Level: 6
View Source

TextAutosizing

Enable or Disable text autosizing.

Declaration
C#
Copy
public bool TextAutosizing { get; set; }
Property Value
Type Description
Boolean
API Level: 6
View Source

TextZoom

Enable or Disable text zoom.

Declaration
C#
Copy
public bool TextZoom { get; set; }
Property Value
Type Description
Boolean
API Level: 6
View Source

UseKeypadWithoutUserAction

Enable or Disable the usage of keypad without user action.

Declaration
C#
Copy
public bool UseKeypadWithoutUserAction { get; set; }
Property Value
Type Description
Boolean
API Level: 6

Methods

View Source

GetExtraFeatureStatus(String)

Get status of Extra feature such as "edge,enable", "zoom,enable", "longpress,enable" "doubletap,enable" and "selection,magnifier".

Declaration
C#
Copy
public bool GetExtraFeatureStatus(string name)
Parameters
Type Name Description
String name

The name of the feature user wants to know status.

Returns
Type Description
Boolean

Status true or false is returned.

API Level: 6
View Source

SetExtraFeature(String, Boolean)

Enable or Disable Extra feature such as "edge,enable", "zoom,enable", "longpress,enable" "doubletap,enable" and "selection,magnifier".

Declaration
C#
Copy
public void SetExtraFeature(string name, bool enable)
Parameters
Type Name Description
String name

The name of the feature user wants to set or reset.

Boolean enable

The boolean value to set or reset.

API Level: 6

Extension Methods