Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Wisej.Base.PostbackPropertyAttribute
Namespace: Wisej.Base
Assembly: Wisej.Framework (4.0.0.0)
Allows the property to return its value to postback requests.
Initializes the PostbackPropertyAttribute attribute.
Initializes the PostbackPropertyAttribute attribute.
allow
Indicates whether the property is allowed or disallowed to return its value to postback requests.
Boolean: Returns or sets whether the property is allows to return its value to postback requests.
Returns true if the property allows postback requests.
property
Property to check.
Returns: Boolean. True if the property allows postback requests.
Wisej.Base.Cookie
Namespace: Wisej.Base
Assembly: Wisej.Framework (4.0.0.0)
Represents an individual HTTP cookie.
Creates a new instance of Cookie.
Creates a new instance of Cookie.
name
The name of the cookie.
value
The value of the cookie.
Creates a new instance of Cookie.
name
The name of the cookie.
value
The value of the cookie.
domain
The domain, or partial domain, associated with the cookie.
Creates a new instance of Cookie.
name
The name of the cookie.
value
The value of the cookie.
expires
The expiration date/time of the cookie.
Creates a new instance of Cookie.
name
The name of the cookie.
value
The value of the cookie.
domain
The domain, or partial domain, associated with the cookie.
expires
The expiration date/time of the cookie.
Boolean: Returns or sets a flag indicating that the cookie has been changed.
Boolean: Returns or sets a flag indicating that the cookie has been deleted.
String: Returns or sets the domain to associate the cookie with.
DateTime: Returns or sets the expiration date and time for the cookie.
Boolean: Returns or sets whether the cookie cookie is a cookie that has the HttpOnly attribute, which prevents client-side scripts from accessing the cookie's data. Since 4.0.0
String: Returns or sets the name for the Cookie.
Boolean: Returns or sets a flag indicating that the cookie is a new cookie (not received from the server).
CookieCollection: Reference to the collection that owns this cookie.
String: Returns or sets the path of the Cookie.
SameSiteMode: Returns or sets the value for the SameSite attribute of the cookie. The default value is Unspecified.
Boolean: Returns or sets whether to transmit the cookie using Secure Sockets Layer (SSL)--that is, over HTTPS only.
String: Returns or sets an individual cookie value.
Returns the string representation of the cookie.
Returns: String.
Wisej.Base.TextUtils
Namespace: Wisej.Base
Assembly: Wisej.Framework (4.0.0.0)
Provides utility methods to measure, encode, and extract mnemonics from text.
ConvertToString
Pluggable method used to convert user input to a string. Since 3.0.10
MeasureString
Pluggable method used to measure strings.
Applies the specified CharacterCasing rule to the text.
text
The text to modify according to the CharacterCasing rule.
casing
The CharacterCasing rule to apply to the text.
Returns: String.
Returns the correct string representation for value .
owner
Component that owns the value to convert to a string.
value
Value to convert to a string.
maxLength
Maximum length applied to the string; 0 = unlimited.
Returns: String. The correct string representation for value .
Escapes special characters in the specified string.
text
The text to escape.
Indicates that HTML tags should not be escaped. The default is false.
Returns: String. The escaped string. Null if the specified string was null, or empty if it was empty.
Removes the ampersand from the text and encodes HTML characters if necessary.
text
The text to convert.
allowHtml
Whether to encode HTML characters.
useMnemonic
Whether to convert the first mnemonic to an underlined character.
translateNewLines
Whether to convert newlines (CRLF) to <BR/>. The conversion is performed only when allowHtml is false, or, if allowHtml is true and the text doesn't contain any HTML.
Returns: String. The escaped string. Null if the specified string was null, or empty if it was empty.
Escapes HTML brackets and other HTML entities ready for being assigned to innerHTML without calling unescape() on the client.
text
Text to escape.
Returns: String. The escaped string, or an empty string if the string is null.
Removes the ampersand from the text and encodes HTML characters if necessary.
text
The text to convert.
allowHtml
Whether to encode HTML characters.
allowMarkdown
Whether to convert the text to HTML using the markdown syntax.
useMnemonic
Whether to convert the first mnemonic to an underlined character.
translateNewLines
Whether to convert newlines (CRLF) to <BR/>. The conversion is performed only when allowHtml is false, or, if allowHtml is true and the text doesn't contain any HTML.
Returns: String. The escaped string. Null if the string is empty.
Returns the height of the specified font .
font
Font to measure.
Returns: Int32. Height of font in pixels.
Returns the first character that is preceded by an ampersand (&).
text
The string from which to extract the mnemonic character.
Returns: String.
Returns the mnemonic character from the text.
text
Returns: String.
Returns the size of the specified text when rendered with the specified font.
text
The text to measure.
font
Returns: Size. The computed Size of the specified text.
Returns the size of the specified text when rendered with the specified font.
text
The text to measure.
font
format
Formatting information.
Returns: Size. The computed Size of the specified text.
Returns the size of the specified text when rendered with the specified font.
text
The text to measure.
font
layoutArea
Returns: Size.
Returns the size of the specified text when rendered with the specified font.
text
The text to measure.
font
layoutArea
format
Formatting information.
Returns: Size.
Returns the size of the specified text when rendered with the specified font.
text
The text to measure.
allowHtml
The text to measure may contain HTML tags.
font
callback
Result callback method, invoked when the client has finished measuring the text.
Returns the size of the specified text when rendered with the specified font.
text
The text to measure.
allowHtml
The text to measure may contain HTML tags.
font
width
The width to use as bounding rectangle for the text.
callback
Result callback method, invoked when the client has finished measuring the text.
Asynchronously returns the size of the specified text when rendered with the specified font. The measurement is performed on the browser. Returns an awaitable Task that contains the measured size.
text
The text to measure.
allowHtml
The text to measure may contain HTML tags.
font
The optional width to use as bounding rectangle for the text.
Returns: Task<Size>. An awaitable Task that represents the asynchronous operation.
Wisej.Base.Cookie SameSiteMode
Namespace: Wisej.Base
Assembly: Wisej.Framework (4.0.0.0)
Determine if a cookie should be restricted to a first-party or same-site context.
Lax
Indicates the client should send the cookie with "same-site" requests, and with "cross-site" top-level navigations.
None
Indicates the client should disable same-site restrictions. When using this value, the cookie must also have the property set to true.
Strict
Indicates the client should only send the cookie with "same-site" requests.
Unspecified
No SameSite field will be set, the client should follow its default cookie policy.
Returns or sets the value for the SameSite attribute of the cookie. The default value is .
allowHtml
The to apply to the measured text.
The to apply to the measured text.
The to apply to the measured text.
The to use as bounding rectangle for the text.
The to apply to the measured text.
The to use as bounding rectangle for the text.
The to apply to the measured text.
The to apply to the measured text.
The to apply to the measured text.
width
Wisej.Base.CookieCollection
Namespace: Wisej.Base
Assembly: Wisej.Framework (4.0.0.0)
Manages the collection of cookies for the current application.
Boolean: Returns or sets a flag indicating that the cookie collection or a contained cookie has been changed.
Int32: Returns the number of Cookie items in the collection.
String: Returns the Cookie with a specific name from a CookieCollection.
Throws:
ArgumentNullException name is null.
Cookie: Returns the Cookie with a specific name from a CookieCollection.
Throws:
IndexOutOfRangeException index is out of range.
Adds a cookie to the collection.
cookie
The cookie to add.
Adds a new cookie to the collection.
name
The case-sensitive name of the cookie.
value
The value of the new cookie to add.
Returns: Cookie.
Adds a new cookie to the collection.
name
The case-sensitive name of the cookie.
value
The value of the new cookie to add.
domain
The domain, or partial domain, associated with the cookie.
Returns: Cookie.
Adds a new cookie to the collection.
name
The case-sensitive name of the cookie.
value
The value of the new cookie.
expires
The expiration date/time of the new cookie.
Returns: Cookie.
Adds a new cookie to the collection.
name
The case-sensitive name of the cookie.
value
The value of the new cookie.
domain
The value of the new cookie.
expires
The expiration date/time of the new cookie.
Returns: Cookie.
Delete all cookies from the collection. NOTE: Cookies are only removed from the collection, not from the client. You need to set the expiration date to remove it from the client.
Determines whether the cookie is present in the collection.
cookie
The cookie to locate.
Returns: Boolean.
Copies the cookie collection to a compatible one-dimensional array, starting at the specified index of the target array.
array
The one-dimensional System.Array that is the destination of the elements copied.
index
The zero-based index in array at which copying begins.
Returns the cookie with the specified name.
name
The case-sensitive name of the cookie to locate.
Returns: Cookie.
Returns: IEnumerator<Cookie>.
Searches for the specified cookie and returns the zero-based index of the first occurrence.
cookie
The cookie to locate.
Returns: Int32.
Searches for the specified cookie by name and returns the zero-based index of the first occurrence.
name
The case-sensitive name cookie to locate.
Returns: Int32.
Removes the specified cookie from the collection. NOTE: Cookies are only removed from the collection, not from the client. You need to set the expiration date to remove it from the client.
cookie
The cookie to remove from the collection.
Returns: Boolean. true if item is successfully removed; otherwise, false.
Removes the specified cookie from the collection. NOTE: Cookies are only removed from the collection, not from the client. You need to set the expiration date to remove it from the client.
name
The case-sensitive name of the cookie to remove from the collection.
Returns: Boolean. true if item is successfully removed; otherwise, false.
Removes the cookie at the specified index. NOTE: Cookies are only removed from the collection, not from the client. You need to set the expiration date to remove it from the client.
index
The zero-based index of the element to remove.
httpOnly
Returns: String[].
Wisej.Base.Component
Namespace: Wisej.Base
Assembly: Wisej.Framework (4.0.0.0)
The base class for Wisej components that are not controls. Wisej components are still managed on the client and the server but are not present on the designer surface. Examples of wisej components are: menu items, image lists, tree nodes, list items.
Default constructor
Default constructor
embedded
Indicates whether the component is embedded in a parent component. Embedded components don't update themselves, instead their parent is in charge of updating the corresponding client widget.
Boolean: Checks if the UserData dynamic object was created and has any value. (Default: False
)
Boolean: Returns true if the component is processing a client event.
Boolean: Indicates that the component has been disposed. (Default: False
)
Object: Returns a dynamic object that can be used to store custom data in relation to this component.
Default value is {}.
Runs the JavaScript function within the component's context in the browser.
function
The name of the JavaScript function to execute.
args
The arguments to pass to the function.
Runs the JavaScript function within the component's context in the browser and returns the value to the callback method.
function
The name of the JavaScript function to execute.
callback
Asynchronous callback method that receives the return value.
args
The arguments to pass to the function.
Asynchronously runs the JavaScript function within the component's context in the browser and returns an awaitable Task containing the value returned by the remote call.
function
The name of the JavaScript function to execute.
args
The arguments to pass to the function.
Returns: Task<Object>. An awaitable Task that represents the asynchronous operation.
Releases all resources used by the Component.
Marks this component as disposed.
disposing
true when this method is called by the application rather than a finalizer.
Runs the javaScript code within the component's context in the browser.
javaScript
The JavaScript code to run on the client.
Runs the javaScript code within the component's context in the browser and returns the value to the callback method.
javaScript
The JavaScript code to evaluate on the client.
callback
Asynchronous callback method that receives the return value.
Asynchronously runs the javaScript code within the component's context in the browser and returns an awaitable Task that contains the value returned by the remote call.
javaScript
The JavaScript code to evaluate on the client.
Returns: Task<Object>. An awaitable Task that represents the asynchronous operation.
Destructor dispose pattern.
Invokes the Filter method.
data
Data passed to the filter implementation.
type
Name of the filter being invoked.
Returns: Object.
Returns a collection of referenced components or collection of components.
list
List of referenced components or collection of components.
Processes the event from the client.
e
Event arguments.
Renders the client component.
config
Dynamic configuration object.
Updates the client component using the state information.
state
Dynamic state object.
Updates the component on the client.
EventHandler Fired when the component is disposed.
Displays a message box that can contain text, buttons, and symbols that inform and instruct the user.
Implements a timer that raises an event at user-defined intervals.
Provides support for animating controls or windows using predefined animations definitions or custom animations in response to certain events.
Provides a user interface for indicating that a control on a form has an error associated with it.
Represents a small rectangular pop-up window that displays a brief help text next to a control when it gets activated (focused).
Allows controls to execute javascript code.
Adds CSS styling to controls.
Represents a small rectangular pop-up window that displays a brief description of a control's purpose when the user rests the pointer on the control.
Displays an alert box that can contain an icon and text that inform and instruct the user. Alert boxes are not modal and can disappear automatically.
Displays a toast that can contain an icon and text.
Represents the base functionality for all menus.
Provides access to the UserData
and Tag
properties associated to the component implementing this interface.
All wisej components implement this interface.
Allows an object to serialize itself.
Extends and enables the component to participated if data binding operations and have their own .
Extends and enables the components to appear on the designer surface.
Represents a component in the control's taskbar.
Represents a component in the control's taskbar that can host any .
Represents a DateTime component in the control's taskbar.
Add rotation capabilities along the X,Y,Z axis to controls.
Represent a tool widget that can be displayed inside another control. A tool widget is different from other child controls: it's displayed inside the parent's layout. For example, the control shows tool widgets inside the caption bar. When a tool widget is pressed, it fires the toolClicked event on the container.
Provides methods to manage a collection of objects. This class cannot be inherited.
Displays a standard column header in a control.
Displays an image column header in a control.
Represents an individual menu item that is displayed within a or and always shows a checkbox next to the label.
Represents a context menu associated to a .
Represents an individual menu item that is displayed within a or rendered using the <a> link element to let the browser process the specified URL.
Represents the main menu in a .
Represents an individual item that is displayed within a or .
Represents a panel in a control that can host any .
Represents a panel in a control.
Represents an item in the .
Represents a node of a .