Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Wisej.Web.HtmlPanel
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Represents a control that displays any HTML file and a corresponding CSS style sheet as embedded HTML.
Initializes a new instance of the HtmlPanel class.
Boolean: Returns or sets whether clicking on a link in the Html panel can navigate to the URL specified in the link.
BorderStyle: Indicates the border style for the control.
String: Returns or sets the CSS rules to apply to the html content.
String: Returns or sets the HTML text to display in the HtmlPanel control.
String: Returns or sets the html file name to display in the HtmlPanel control.
ScrollBars: Returns or sets the type of scroll bars to display for the HtmlPanel control.
String: Returns or sets the css file name to apply to the html text in HtmlPanel control.
HtmlPanelElementClickHandler Fired when the user clicks on any element inside the html panel.
EventHandler Fired when the Html property is changed.
EventHandler Fired when the HtmlSource property is changed.
Name | Description |
---|---|
Bindable components implement this interface.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
Wisej.Web.HtmlPanelElementClickHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Represents the method that will handle the ElementClick event.
Wisej.Web.HtmlPanelElementClickArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Provides data for the HtmlPanelClickHandler event handler.
Initializes a new instance of the HtmlPanelClickArgs class.
Initializes a new instance of the HtmlPanelClickArgs class.
String: Returns the HTML of the element that was clicked in the HtmlPanel panel.
String: Returns the role attribute assigned to the element that generated the event.
The value in the Role property is taken from the "role" attribute of the clicked element inside the widget.
Wisej.Web.Canvas
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Represents the HTML5 canvas element.
Initializes a new instance of the Canvas class.
BorderStyle: Indicates the border style for the control.
Object: Sets or returns the color, gradient, or pattern used to fill the drawing.
Single: Sets or returns the current alpha or transparency value of the drawing.
CanvasCompositeOperation: Sets or returns how a new image are drawn onto an existing image.
CanvasLineCap: Sets or returns the style of the end caps for a line.
Single: Sets or returns the type of corner created, when two lines meet.
CanvasLineJoin: Sets or returns the type of corner created, when two lines meet.
Int32: Sets or returns the current line width, in pixels.
Boolean: Turns live update mode on or off. When live update is on, all canvas calls are pushed to the client immediately, when is off (default) the control updates the client at the end of the request.
Int32: Sets or returns the maximum miter length.
Int32: Sets or returns the blur level for shadows.
Color: Sets or returns the color to use for shadows.
Int32: Sets or returns the horizontal distance of the shadow from the shape.
Int32: Sets or returns the vertical distance of the shadow from the shape.
Object: Sets or returns the color, gradient, or pattern used for strokes.
CanvasTextAlign: Sets or returns the current alignment for text content, according to the anchor point.
CanvasTextBaseline: Sets or returns the current text baseline used when drawing text.
Font: Sets or returns the current font properties for text content on the canvas.
Creates an arc/curve (used to create circles, or parts of circles).
Creates an arc/curve (used to create circles, or parts of circles).
Creates an arc/curve between two tangents on the canvas.
Creates an arc/curve between two tangents on the canvas.
begins a path, or resets the current path.
Adds a point to the current path by using the specified control points that represent a cubic Bézier curve.
A cubic bezier curve requires three points. The first two points are control points that are used in the cubic Bézier calculation and the last point is the ending point for the curve. The starting point for the curve is the last point in the current path. If a path does not exist, use the beginPath() and moveTo() methods to define a starting point.
Clears the specified pixels within a given rectangle.
Clears the specified pixels within a given rectangle.
Clips a region of any shape and size from the original canvas.
Once a region is clipped, all future drawing will be limited to the clipped region (no access to other regions on the canvas). You can however save the current canvas region using the save() method before using the clip() method, and restore it (with the restore() method) any time in the future.
Creates a path from the current point back to the starting point.
Creates a linear gradient object. The gradient can be used to fill rectangles, circles, lines, text, etc.
Returns: Object.
Repeats the specified element in the specified direction. The repeated element can be used to draw/fill rectangles, circles, lines etc.
Returns: Object.
Repeats the specified element in the specified direction. The repeated element can be used to draw/fill rectangles, circles, lines etc.
Returns: Object.
Creates a linear gradient object. The gradient can be used to fill rectangles, circles, lines, text, etc.
Returns: Object.
Draws an image onto the canvas.
Draws an image onto the canvas.
Draws an image onto the canvas.
Draws an image onto the canvas.
Draws an image onto the canvas.
Draws an image onto the canvas.
Draws an image onto the canvas.
Draws an image onto the canvas.
Draws an image onto the canvas.
Draws an image onto the canvas.
Draws an image onto the canvas.
Draws an image onto the canvas.
Fills the current drawing (path.)
Draws a "filled" rectangle. The default color of the fill is black.
Draws a "filled" rectangle. The default color of the fill is black.
Draws filled text on the canvas. The default color of the text is black.
Draws filled text on the canvas. The default color of the text is black.
Returns the current line dash pattern.
Returns: Int32[]. A list of numbers that specifies distances to alternately draw a line and a gap (in coordinate space units).
Adds a new point and creates a line TO that point FROM the last specified point in the canvas (this method does not draw the line).
Adds a new point and creates a line TO that point FROM the last specified point in the canvas (this method does not draw the line).
Moves the path to the specified point in the canvas, without creating a line.
Use the stroke() method to actually draw the path on the canvas.
Moves the path to the specified point in the canvas, without creating a line.
Use the stroke() method to actually draw the path on the canvas.
Adds a point to the current path by using the specified control points that represent a quadratic Bézier curve.
A quadratic Bézier curve requires two points. The first point is a control point that is used in the quadratic Bézier calculation and the second point is the ending point for the curve. The starting point for the curve is the last point in the current path. If a path does not exist, use the beginPath() and moveTo() methods to define a starting point.
Creates a rectangle.
Creates a rectangle.
Returns previously saved path state and attributes.
Method rotates the current drawing.
The rotation will only affect drawings made AFTER the rotation is done.
Saves the state of the current context.
Scales the current drawing, bigger or smaller.
Scales the current drawing, bigger or smaller.
Sets the line dash pattern.
Resets the current transform to the identity matrix, and then runs transform() with the same arguments.
The transformation will only affect drawings made after the transform() method is called. The transform() method behaves relatively to other transformations made by rotate(), scale(), translate(), or transform(). Example: If you already have set your drawing to scale by two, and the transform() method scales your drawings by two, your drawings will now scale by four.
Draws the path you have defined.
Draws a rectangle (no fill). The default color of the stroke is black.
Draws a rectangle (no fill). The default color of the stroke is black.
Draws text (with no fill) on the canvas. The default color of the text is black.
Draws text (with no fill) on the canvas. The default color of the text is black.
Replaces the current transformation matrix.
The transformation will only affect drawings made after the transform() method is called. The transform() method behaves relatively to other transformations made by rotate(), scale(), translate(), or transform(). Example: If you already have set your drawing to scale by two, and the transform() method scales your drawings by two, your drawings will now scale by four.
Remaps the (0,0) position on the canvas.
When you call a method such as fillRect() after translate(), the value is added to the x- and y-coordinate values.
Remaps the (0,0) position on the canvas.
When you call a method such as fillRect() after translate(), the value is added to the x- and y-coordinate values.
EventHandler Fired when the canvas requires a full redraw.
Wisej.Web.AspNetPanel
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Represents a control that can host ASP.NET or MVC pages within a Wisej application.
The code in the hosted ASP.NET/MVC page can access any component in the current Wisej application session simply by using the Wisej.Web.Application class. All top level forms and pages are available in the Application.OpenForms, Application.OpenPages, Application.MainPage, and Appication.Desktop properties.
Wisej.Web.Label
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Represents a label control.
Newlines (CRLF) are converted to when allowHtml is false, or when allowHtml is true and the text doesn't contain any html.
Throws:
Newlines (CRLF) are converted to when allowHtml is false, or when allowHtml is true and the text doesn't contain any html.
Wisej.Web.ImageList ImageCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Adds the image to the collection.
Adds the image source to the collection.
Adds the specified image to the collection.
Adds the specified imageSource to the collection.
Adds the image entry to the collection.
Throws:
Removes all images from the collection.
Finds if the collection contains the image .
Finds if the collection contains the image key .
Returns an enumerator that iterates the images in the collection.
Returns the index of the image in the collection.
Returns the index of the image key in the collection.
Removes the image from the collection.
Removes the image at the specified index from the collection.
Removes the images identified by the key from the collection.
Sets the key (name) associated with the image.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
: Returns or sets the ASP.NET/MVC page to load in the control.
Name | Description |
---|
Initializes a new default instance of the class.
: Returns or sets the color used to display an active link (while being pressed).
: Returns or sets the color used when displaying a disabled link.
: Returns or sets the range in the text to treat as a link.
The property of the object is less than zero; or the property of the object is less than -1.
: Returns or sets a value that represents the behavior of a link.
: Returns or sets the color used when displaying a link.
Fired when a link is clicked within the control.
Fired when the value of the property changes.
Name | Description |
---|
Provides methods to manage a collection of objects. This class cannot be inherited.
Initializes a new instance of the without a specified container.
Initializes a new instance of the class with a specified container.
Name | Type | Description |
---|
: Returns the for this image list.
: Returns or sets the size of the images in the image list.
The value assigned is equal to ; or the value of the height or width is less than or equal to 0; or the value of the height or width is greater than 256.
The new size has a dimension less than 0 or greater than 256.
: Returns or sets an object that contains additional data about the .
: Returns or sets the color to treat as transparent.
Name | Description |
---|
Initializes a new instance of the class.
: Returns or sets a value indicating the color of the line.
: Indicates the size of the line in pixels.
: Indicates the of the control.
: Returns or sets a value indicating the horizontal or vertical orientation of the control.
Name | Description |
---|
Initializes a new instance of the class.
: Returns or sets a value indicating that the control can display HTML in the Text property.
: Returns or sets whether the ellipsis character (...) appears at the right edge of the label, denoting that the text extends beyond the size of the label.
: Returns or sets a value that indicates whether the control resizes based on its contents.
: Indicates the border style for the control.
: Returns or sets the case of the text to display to the user.
: Enables or disables the browser's context menu.
: Returns or sets the image that is displayed on a .
: Returns or sets the alignment of an image that is displayed in the control.
: Returns or sets the image list index value of the image displayed on the label control.
The specified index is less than -1.
: Returns or sets the key accessor for the image in the .
: Returns or sets the that contains the images to display in the control.
: Returns or sets the theme name or URL for the image to display in the .
: Returns or sets the text associated with this control.
: Returns or sets the alignment of text in the label.
: Returns or sets whether the first character that is preceded by an ampersand (&) is used as the mnemonic key of the control.
Name | Description |
---|
Name | Description |
---|
Encapsulates the collection of objects in an .
: Returns the number of in the collection.
: Returns the image at the index.
: Returns the first image identified by the key.
: Returns a collection with all the image keys.
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Adds an array of to the collection.
Parameter | Type | Description |
---|
entries is null.
entries is the child of another .
Parameter | Type | Description |
---|
Returns: . True if the collection contains the specified image .
Parameter | Type | Description |
---|
Returns: . True if the collection contains the specified key .
Returns: .
Parameter | Type | Description |
---|
Returns: . The index of the specified image in the collection; otherwise -1 if not found.
Parameter | Type | Description |
---|
Returns: . The index of the specified key in the collection; otherwise -1 if not found.
Inserts the at the specified index.
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Represents an area within a control that represents a hyperlink within the control.
Initializes a new instance of the class.
Name | Type | Description |
---|
: Returns a value indicating whether the is empty.
: Returns or sets the number of characters in the link area.
: Returns or sets the starting location of the link area within the text of the .
Name | Description |
---|
Provides data for the event.
Initializes a new instance of the class with the specified link.
Name | Type | Description |
---|
: Returns the link that was clicked.
Name | Description |
---|
Represents the method that will handle the event of a .
Name | Type | Description |
---|
Name | Description |
---|
sender
The source of the event.
e
A HtmlPanelClickArgs that contains the event data.
Fired when the user clicks on any element inside the html panel.
element
Outer HTML of the clicked element.
role
Value of the "role" attribute of the clicked element.
Represents the method that will handle the ElementClick event.
x
The x-coordinate of the center of the circle.
y
The y-coordinate of the center of the circle.
radius
The radius of the circle.
startAngle
The starting angle, in degrees.
endAngle
The ending angle, in degrees.
counterClockwise
Specifies whether the drawing should be counterclockwise or clockwise. Default is false.
location
The x-coordinate and y-coordinate of the center of the circle.
radius
The radius of the circle.
startAngle
The starting angle, in degrees.
endAngle
The ending angle, in degrees.
counterClockwise
Specifies whether the drawing should be counterclockwise or clockwise. Default is false.
x1
The x-coordinate of the first tangent.
y1
The y-coordinate of the first tangent.
x2
The x-coordinate of the second tangent.
y2
The y-coordinate of the second tangent.
radius
The radius of the arc
location1
The x-coordinate and y-coordinate of the first tangent.
location2
The x-coordinate and y-coordinate of the second tangent.
radius
The radius of the arc
cp1x
The x-coordinate of the first Bézier control point.
cp1y
The y-coordinate of the first Bézier control point.
cp2x
The x-coordinate of the second Bézier control point.
cp2y
The y-coordinate of the second Bézier control point.
x
The x-coordinate of the ending point.
y
The y-coordinate of the ending point.
rect
Rectangle's coordinates and size.
x
The x-coordinate of the upper-left corner of the rectangle.
y
The y-coordinate of the upper-left corner of the rectangle.
width
The width of the rectangle, in pixels.
height
The height of the rectangle, in pixels.
x0
The x-coordinate of the start point of the gradient.
y0
The y-coordinate of the start point of the gradient.
x1
The x-coordinate of the end point of the gradient.
y1
The y-coordinate of the end point of the gradient.
colorStops
Array of color stops. Each element must define a stop value between 0.0 and 1.0 and a color value.
image
Specifies the image of the pattern to use.
repeat
Specifies the repeat pattern.
imageSource
Specifies the source of the image of the pattern to use.
repeat
Specifies the repeat pattern.
x0
The x-coordinate of the start point of the gradient.
y0
The y-coordinate of the start point of the gradient.
r0
The radius of the starting circle.
x1
The x-coordinate of the end point of the gradient.
y1
The y-coordinate of the end point of the gradient.
r1
The radius of the ending circle.
colorStops
Array of color stops. Each element must define a stop value between 0.0 and 1.0 and a color value.
image
Specifies the image to draw.
x
The x-coordinate where to place the image on the canvas.
y
The y-coordinate where to place the image on the canvas.
image
Specifies the image to draw.
location
The x-coordinate and y-coordinate where to place the image on the canvas.
image
Specifies the image to draw.
x
The x-coordinate where to place the image on the canvas.
y
The y-coordinate where to place the image on the canvas.
width
The width of the image to use (stretch or reduce the image).
height
The height of the image to use (stretch or reduce the image).
image
Specifies the image to draw.
rect
The coordinates and size of the image to place on the canvas.
image
Specifies the image to draw.
clipX
The x-coordinate where to start clipping.
clipY
The y-coordinate where to start clipping.
clipWidth
The width of the clipped image.
clipHeight
The height of the clipped image.
x
The x coordinate where to place the image on the canvas.
y
The y coordinate where to place the image on the canvas.
width
The width of the image to use (stretch or reduce the image).
height
The height of the image to use (stretch or reduce the image).
image
Specifies the image to draw.
clipRect
The clip rectangle.
imageRect
The size and location of the image to place on the canvas.
imageSource
Specifies the image to draw.
x
The x-coordinate where to place the image on the canvas.
y
The y-coordinate where to place the image on the canvas.
imageSource
Specifies the image to draw.
location
The x-coordinate and y-coordinate where to place the image on the canvas.
imageSource
Specifies the image to draw.
x
The x coordinate where to place the image on the canvas.
y
The y coordinate where to place the image on the canvas.
width
The width of the image to use (stretch or reduce the image).
height
The height of the image to use (stretch or reduce the image).
imageSource
Specifies the image to draw.
rect
The coordinates and size of the image to place on the canvas.
imageSource
Specifies the image to draw.
clipX
The x coordinate where to start clipping.
clipY
The y coordinate where to start clipping.
clipWidth
The width of the clipped image.
clipHeight
The height of the clipped image.
x
The x coordinate where to place the image on the canvas.
y
The y coordinate where to place the image on the canvas.
width
The width of the image to use (stretch or reduce the image).
height
The height of the image to use (stretch or reduce the image).
imageSource
Specifies the image to draw.
clipRect
The clip rectangle.
imageRect
The size and location of the image to place on the canvas.
rect
Rectangle's coordinates and size.
x
The x-coordinate of the upper-left corner of the rectangle.
y
The y-coordinate of the upper-left corner of the rectangle.
width
The width of the rectangle, in pixels.
height
The height of the rectangle, in pixels.
text
Specifies the text that will be written on the canvas.
x
The x-coordinate where to start painting the text (relative to the canvas).
y
The y-coordinate where to start painting the text (relative to the canvas)
text
Specifies the text that will be written on the canvas.
location
The x-coordinate and y-coordinate where to start painting the text (relative to the canvas).
x
The x-coordinate of where to create the line to.
y
The y-coordinate of where to create the line to.
location
The x-coordinate and y-coordinate of where to create the line to.
x
The x-coordinate of where to move the path to.
y
The y-coordinate of where to move the path to.
location
The x-coordinate and y-coordinate of where to move the path to.
cpx
The x-coordinate of the Bézier control point.
cpy
The y-coordinate of the Bézier control point.
x
The x-coordinate of the ending point.
y
The y-coordinate of the ending point.
rect
Rectangle's coordinates and size.
x
The x-coordinate of the upper-left corner of the rectangle.
y
The y-coordinate of the upper-left corner of the rectangle.
width
The width of the rectangle, in pixels.
height
The height of the rectangle, in pixels.
degrees
The rotation angle, in degrees.
scaleWidth
Scales the width of the current drawing (1=100%, 0.5=50%, 2=200%, etc.)
scaleHeight
Scales the height of the current drawing (1=100%, 0.5=50%, 2=200%, etc.)
scale
Scales the width of the current drawing (1=100%, 0.5=50%, 2=200%, etc.)
segments
A list of numbers that specifies distances to alternately draw a line and a gap (in coordinate space units). If the number of elements in the array is odd, the elements of the array get copied and concatenated. For example, [5, 15, 25] will become [5, 15, 25, 5, 15, 25].
scaleWidth
Scales the drawing horizontally.
skewHoriz
Skew the drawing horizontally.
skewVert
Skew the drawing vertically.
scaleHeight
Scales the drawing vertically.
x
Moves the drawing horizontally
y
Moves the drawing vertically.
rect
Rectangle's coordinates and size.
x
The x-coordinate of the upper-left corner of the rectangle.
y
The y-coordinate of the upper-left corner of the rectangle.
width
The width of the rectangle, in pixels.
height
The height of the rectangle, in pixels.
text
Specifies the text that will be written on the canvas.
x
The x-coordinate where to start painting the text (relative to the canvas).
y
The y-coordinate where to start painting the text (relative to the canvas)
text
Specifies the text that will be written on the canvas.
location
The x-coordinate and y-coordinate where to start painting the text (relative to the canvas).
scaleWidth
Scales the drawing horizontally.
skewHoriz
Skew the drawing horizontally.
skewVert
Skew the drawing vertically.
scaleHeight
Scales the drawing vertically.
x
Moves the drawing horizontally
y
Moves the drawing vertically.
x
The value to add to horizontal (x) coordinates.
y
The value to add to vertical (y) coordinates.
location
The value to add to horizontal (x) and vertical (y) coordinates.
Bindable components implement this interface.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Represents a Wisej component that is capable of handling postback requests from the client.
Allows an object to serialize itself.
Bindable components implement this interface. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
Bindable components implement this interface. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
container |
All wisej components implement this interface. |
Represents a Wisej component that is capable of handling postback requests from the client. |
Allows an object to serialize itself. |
Bindable components implement this interface. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
Represents an hyper-link control. |
Bindable components implement this interface. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
key | The key associated with the image . |
image |
key | The key associated with the imageSource . |
imageSource | The name or URL of the image to add to the list. |
image |
imageSource | The name or URl of the image to add to the list. |
entry |
entries |
image |
key | The key to locate in the collection. |
image |
key | The key to located in the collection. |
index | The position in the collection where to add the entry . |
entry |
image |
index |
key |
index |
name |
start |
length | The number of characters, after the starting character, to include in the link area. |
Returns or sets the range in the text to treat as a link. |
link | The link that was clicked. |
sender | The source of the event. |
e |
Fired when a link is clicked within the control. |
All wisej controls derived from the class must implement this interface.
Allows a control to act like a button on a .
All wisej controls derived from the class must implement this interface.
An that represents the container of the .
All wisej controls derived from the class must implement this interface.
All wisej controls derived from the class must implement this interface.
An to add to the list.
An to add to the list.
The to add to the collection.
An array of objects
The to locate in the collection.
The to located in the collection.
The to add to the collection at the specified index .
The to remove from the collection.
The index of the to remove from the collection.
The key of the to remove from the collection.
The index of the to change.
The new name of the at the specified index .
The zero-based starting location of the link area within the text of the .
Represents the method that will handle the event of a .
A that contains the event data.
Initializes a new instance of the class.
: Returns or sets the color of the progress bar portion.
: Indicates the border style for the control.
: Returns or sets the maximum value of the range of the control.
The value specified is less than 0.
: Returns or sets the minimum value of the range of the control.
The value specified for the property is less than 0.
: Returns or sets the amount by which a call to the method increases the current position of the progress bar.
: Returns or sets the current position of the progress bar.
The value specified is greater than the value of the property; or the value specified is less than the value of the property.
Parameter | Type | Description |
---|
Advances the current position of the progress bar by the amount of the property.
Name | Description |
---|
Initializes a new instance of the class.
: Returns or sets a value to be added to or subtracted from the property when the scroll box is moved a large distance.
The assigned value is less than 0.
: Returns or sets the upper limit of values of the scrollable range.
: Returns or sets the lower limit of values of the scrollable range.
: Returns or sets the value to be added to or subtracted from the property when the scroll box is moved a small distance.
The assigned value is less than 0.
: Returns or sets whether the user can give the focus to this control using the TAB key and the property is set to true.
: Returns or sets a numeric value that represents the current position of the scroll box on the scroll bar control.
The assigned value is less than the property value; or the assigned value is greater than the property value.
Fired when the scroll box has been moved by either a mouse or keyboard action.
Fired when the property is changed, either by a event or programmatically.
Name | Description |
---|
Name | Description |
---|
Initializes a new instance of the class.
: Indicates the border style for the control.
: Returns or sets the filter () to apply to the picture.
: Returns or sets the image that is displayed by .
: Returns or sets the theme name or URL for the image to display in the .
: Indicates how the image is displayed.
Sets the to the specified URL and displays the image indicated.
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Fired when the asynchronous image-load operation is completed.
Fired when changes.
Name | Description |
---|
value | The amount by which to increment the progress bar's current position. |
Bindable components implement this interface. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
Represents an horizontal scroll bar. |
Represents a vertical scroll bar. |
Bindable components implement this interface. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
url |
url |
Bindable components implement this interface. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
All wisej controls derived from the class must implement this interface.
All wisej controls derived from the class must implement this interface.
The path for the image to display in the .
The path for the image to display in the .
All wisej controls derived from the class must implement this interface.
Provides basic properties for the
Initializes a new instance of the class.
Name | Type | Description |
---|
: Returns the orientation of the scrollbar.
: Returns whether the scroll bar is visible.
Name | Description |
---|
Initializes a new instance of the class using the given values for the and properties.
Name | Type | Description |
---|
Initializes a new instance of the class using the given values for the and properties.
Name | Type | Description |
---|
Initializes a new instance of the class using the given values for the , , and properties.
Name | Type | Description |
---|
Initializes a new instance of the class using the given values for the , , and properties.
Name | Type | Description |
---|
Initializes a new instance of the class using the given values for the , , , and properties.
Name | Type | Description |
---|
: Returns or sets the new of the scroll bar.
: Returns the old of the scroll bar.
: Returns the scroll bar orientation that raised the Scroll event.
: Returns the type of scroll event that occurred.
Name | Description |
---|
owner |
Bindable components implement this interface. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
args | The arguments received from the client. |
type |
newValue | The new value for the scroll bar. |
type |
newValue | The new value for the scroll bar. |
scroll |
type |
oldValue | The old value for the scroll bar. |
newValue | The new value for the scroll bar. |
type |
oldValue | The old value for the scroll bar. |
newValue | The new value for the scroll bar. |
scroll |
A that contains the scroll bar.
All wisej controls derived from the class must implement this interface.
One of the values.
One of the values.
One of the values.
One of the values.
One of the values.
One of the values.
Represents the method that handles the Scroll event of a , , , or .
Name | Description |
---|---|
Initializes a new instance of the class.
: Defines the border style for all the four sides.
: Defines the border style for the bottom side.
: Defines the border style for the left side.
: Defines the border style for the right side.
: Defines the border style for the top side.
: Returns or sets the rotation in degrees.
Name | Description |
---|
Represents the method that handles the Scroll event of a , , , or .
Name | Type | Description |
---|
Name | Description |
---|
Bindable components implement this interface.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
Bindable components implement this interface. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
sender | The source of the event. |
e |
Fired when the user or code scrolls through the client area. |
Fired when the scroll box has been moved by either a mouse or keyboard action. |
Fired when the user or code scrolls the grid. |
Wisej.Web.ScrollProperties
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Encapsulates properties related to scrolling.
ScrollOrientation: Returns the orientation of the scrollbar.
Int32: Returns or sets a numeric value that represents the current position of the scroll bar.
Boolean: Returns whether the scroll bar is visible.
Wisej.Web.CaptureMode
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Specifies the possible values for the CaptureMode property.
Wisej.Web.VScrollProperties
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Provides basic properties for the VScrollBar class.
Initializes a new instance of the VScrollProperties class.
ScrollOrientation: Returns the orientation of the scrollbar.
Boolean: Returns whether the scroll bar is visible.
Wisej.Web.VScrollBar
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Represents a vertical scroll bar.
Wisej.Web.Upload
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Represent an upload widget. Allows users to selected one or more files and upload them to the server.
String: Specify the types of files that the server accepts (that can be submitted through a file upload).
The allowed files string follows the HTML 4.01 and HTML5 specifications. You can configure only one entry in the browser's file dialog. The syntax is "file_extension|audio/|video/|image/*|media_type" where
file_extension A file extension starting with the dot, e.g: .gif, .jpg, .png, .doc.
audio/* All sound files are accepted
video/* All video files are accepted
image/* All image files are accepted
media_type A valid media type, with no parameters. Look at IANA Media Types for a complete list of standard media types.
Boolean: Returns or sets whether the upload control allows the selection of multiple files.
ContentAlignment: Returns or sets the position of the upload button relative to the value field..
CaptureMode: Returns or sets a value that specifies which camera to use for capture of image or video data, if the AllowedFileTypes property indicates that the input should be of one of those types.
Boolean: Returns or sets whether the value field is visible.
Image: Returns or sets the icon that is displayed in the upload button in the Upload control.
String: Returns or sets the theme name or URL for the icon to display in the upload button in the Upload control.
Boolean: Returns or sets a value that indicates that the control is invalid.
String: Returns or sets the invalid message that is shown in the invalid tooltip.
Int32: Returns or sets the maximum file size in bytes.
Throws:
ArgumentException The value specified is less than 0.
Boolean: Returns or sets whether the upload control shows a the ajax-loader image when uploading the file(s).
String: Returns or sets the text associated with this control.
ContentAlignment: Returns or sets the alignment of the text on the button control.
String: Returns or sets the text to display in the text fields part of the control.
Aborts the current upload request, if in progress.
Opens the file selection dialog and uploads the files selected by the user.
UploadErrorEventHandler Fired when the Upload control generates an upload error.
UploadProgressEventHandler Fired while the Upload control receives the data being uploaded.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
UploadedEventHandler Fired when files are uploaded to the Upload control.
UploadingEventHandler Fired before the Upload control received the files being uploaded.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event. You can abort the uploading process by setting e.Cancel = true in the event handler.
EventHandler Fired when the user has selected the files to upload.
Wisej.Web.UploadErrorEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Provides data for the Error event.
Initializes a new instance of the UploadErrorEventArgs class with the specified error message.
UploadErrorType: Returns the error type.
String[]: List of file names that failed to upload.
Int32[]: List of file sizes that failed to upload.
String: Returns the error message.
All wisej controls derived from the class must implement this interface.
A that contains the event data.
Fired when the widget scrolls its content.
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Represents the method that will handle the event of a control.
Name | Type | Description |
---|
Name | Description |
---|
Provides basic properties for the HScrollBar
Provides basic properties for the VScrollBar class.
Default
Default value.
Environment
Specifies that the outward-facing camera and/or microphone should be used.
User
Indicates that the user-facing camera and/or microphone should be used.
Returns or sets a value that specifies which camera to use for capture of image or video data, if the AllowedFileTypes property indicates that the input should be of one of those types.
owner
A Control that contains the scroll bar.
Bindable components implement this interface.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
Bindable components implement this interface.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Represents a Wisej component that is capable of handling postback requests from the client.
Allows an object to serialize itself.
type
The error type, one of UploadErrorType.
message
The error message.
fileNames
The list of files that failed to upload.
fileSizes
The list of files that failed to upload.
sender | The source of the event. |
e |
Wisej.Web.UploadingEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Provides data for the Uploading event.
Initializes a new instance of the UploadingEventArgs class with the specified collection of uploaded files.
String[]: Returns an array containing the names of the files being uploaded.
Int32[]: Returns an array containing the sizes in bytes of the files being uploaded.
A that contains the event data.
Fired when the control generates an upload error.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Name | Description |
---|
Name | Description |
---|
fileNames
A string array containing the named of the files being uploaded.
fileSizes
An integer array containing the sizes of the files being uploaded.
FileTooLarge | One of the files being uploaded is too large. |
Upload | An error occurred while upload a file. |
Returns the error type. |
Provides data for the event.
Initializes a new instance of the class with the specified error message.
Name | Type | Description |
---|
: The number of bytes transferred.
: The total number of bytes of content that will be transferred.
Name | Description |
---|
loaded | The number of bytes transferred. This doesn't include headers and other overhead, but only the content itself. |
total | The total number of bytes of content that will be transferred. If the total size is unknown, this value is zero. |
Represents the method that will handle the event of a control.
Wisej.Web.Widget
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Provides a generic widget that can use most third party javascript widgets.
See the InitScript property for a detailed description on how to initialize the imported widget.
Initializes a new instance of the Widget class.
BorderStyle: Indicates the border style for the control.
Boolean: Enables or disables the browser's context menu.
String: Returns or sets the initialization script.
The initialization script is called after the widget is created and before it is rendered by the browser. It is here that the code should initialize the third party widget, hook up any event, and save any reference it may need. The initialization function is named "init" and must be declared like this:
The update function is named "update", it is optional, and must be declared like this:
The "options" parameter is optional. It contains a javascript map with all the options defined in the Options property. Within the init function you can refer to the Wisej widget class using "this" and to the HTML element using "this.container". To fire an event back to the server, use "this.fireWidgetEvent() as show in the sample code below:
On the server side, you can handle the WidgetEvent and receive any data passed in the "fireWidgetEvent" call in the Data dynamic object.
Object: Returns a DynamicObject that can convert any method call into the equivalent JavaScript call targeting the third party "widget" object.
An application can invoke any method on the wrapped third party widget by using the Instance property. Dynamic method calls are automatically transformed to JavaScript client calls.
Boolean: Returns whether the JavaScript widget has been initialized.
Object: Returns or sets a dynamic object that is passed to the init(options) function upon initialization of the widget and to the update(options, old) when updating the widget.
List<Package>: List of packages required to run this widget.
Each package is a URL to either a JavaScript or a CSS file. The packages are loaded in the order they are listed. If a script depends on another script, it should be declared after the script it depends on, i.e.: Query usually if the first script in the package list. Wisej uses the name of the package to cache it and load it only once. It's important that you use consistent names when creating multiple widgets in order to load the shared packages only once.
String[]: Returns or sets the list of events that are fired by the widget wrapper.
Defines the list of events that the widget wrapper can fire. You have to add the code that handles the third party widget's events and fire a server event back to this widget wrapper. If your initialization code fires the event correctly and the event is registered in the WiredEvents list, the application code can attach a listener to the dynamic Instance object like any native event.
For the sample code above to receive the "areaClick" event you have to handle the third party widget event and fire a Wisej event. The syntax for the handler registration depends on each wrapped third party widget: some may use native events, other may use jQuery, and others may use callback methods.
The list of the wired events that the server component expects to receive is available on the client side wrapper using the events array: this.getEvents(). [Since 2.5.31] You can attach to the event without having to register it with the WiredEvents collection when you prefix the handler with "on". i.e. this.Instance.onPointClick += new WidgetEventHandler(onPointClick). Wisej will try to attach to the "pointClick" event automatically removing the "on" prefix. When you attach the listener Wisej will automatically add it to the WiredEvents collection. Additionally, instead of having to iterate the this.getEvents() collection in the widget's initScript, you can override "_addListener", "_removeListener", "_getEventData".
Registers the event handler to listen to the event eventName fired by the third party widget.
Using AddListener only registers the server side handlers and adds the eventName to the list of WiredEvents. However, the client side wiring of the client event and the firing of the event back to the server must Throws:
ArgumentNullException eventName or handler is null.
Removes the event handler for the eventName fired by the third party widget.
Throws:
ArgumentNullException eventName or handler is null.
EventHandler Fired when the widget is created on the client.
WebRequestHandler Fired when the widget used the "postbackUrl" to retrieve data from this control.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
eventName
Name of the event fired by the third party widget.
handler
Function that handles the event on the server side.
expression
Optional expression to process the event data: i.e. "{x:e.x, y:x.y}".
eventName
Name of the event fired by the third party widget.
handler
Function that handles the event on the server side.
Bindable components implement this interface.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Represents a Wisej component that is capable of handling postback requests from the client.
Allows an object to serialize itself.
Wisej.Web.UploadedEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Provides data for the Uploaded event.
Initializes a new instance of the UploadedEventArgs class with the specified collection of uploaded files.
HttpFileCollection: Returns the collection of uploaded files.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Represents a control that can display a pdf document in the browser either using the native pdf viewer, the pdf.js viewer, Google docs, or a custom viewer.
Initializes a new instance of the class.
: Indicates the border style for the control.
: Returns or sets the pdf file name to display in the control.
: Returns or sets the pdf stream to display in the control.
: Returns or sets the to use on the client.
: Returns or sets the URL of the viewer to use on the client when the value of is set to .
Fired when the PdfSource property is changed.
Name | Description |
---|
: Allows the IFrame to access certain local features when using a cross-origin source. Valid values for allow include: geolocation, microphone, camera, midi, encrypted-media. See for more information on the syntax and values to use in this attribute.
: Indicates the border style for the control.
: Returns or sets whether the control shows the scrollbars when needed.
: Returns or sets the source Url of the IFrame.
Fired when the IFrame has finished loading the document.
Fired when the Url property is changed.
Name | Description |
---|
Name | Description |
---|
Represents the method that will handle the event of a control.
Name | Type | Description |
---|
Name | Description |
---|
files
An instance of HttpFileCollection containing the uploaded files.
sender
The source of the event.
e
A UploadingEventArgs that contains the event data.
Fired before the Upload control received the files being uploaded.
Bindable components implement this interface. |
All wisej components implement this interface. |
Represents a Wisej component that is capable of handling postback requests from the client. |
Allows an object to serialize itself. |
Represents a control that can host ASP.NET or MVC pages within a Wisej application. |
Bindable components implement this interface. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
sender | The source of the event. |
e |
Wisej.Web.WebBrowserDocumentCompletedEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Provides data for the DocumentCompleted event.
Initializes a new instance of the WebBrowserDocumentCompletedEventArgs class.
Uri: Returns the location of the document where the WebBrowser control has navigated.
All wisej controls derived from the class must implement this interface.
All wisej controls derived from the class must implement this interface.
A that contains the event data.
Fired while the control receives the data being uploaded.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
sender
The source of the event.
e
A UploadedEventArgs that contains the event data.
Fired when files are uploaded to the Upload control.
url
The Uri of the document that was loaded.
Represents the method that will handle the DocumentCompleted event of the WebBrowser control.
Wisej.Web.WebRequestEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Provides data for the WebRequest event.
Initializes a new instance of the WebRequestEventArgs class with the specified error message.
HttpRequest: Returns the current HttpRequest.
HttpResponse: Returns the current HttpResponse.
Wisej.Web.WebBrowser
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Represents a web browser control that enables the user to navigate web pages inside a form or a page.
Initializes a new instance of the WebBrowser class.
BorderStyle: Indicates the border style for the control.
Boolean: Returns or sets a value indicating whether scroll bars are displayed in the WebBrowser control.
Uri: Returns or sets the URL of the current document.
Throws:
ArgumentException The specified value when setting this property is not an absolute URI. For more information, see IsAbsoluteUri.
Navigates the WebBrowser control to the previous page in the navigation history, if one is available.
Due to IFrame security constraints, this method will not work when the source of the IFrame content is from a different domain.
Navigates the WebBrowser control to the next page in the navigation history, if one is available.
Due to IFrame security constraints, this method will not work when the source of the IFrame content is from a different domain.
Loads the document at the location indicated by the specified Uri into the WebBrowser control.
Throws:
ArgumentException The url parameter value does not represent an absolute URI. For more information, see IsAbsoluteUri.
Loads the document at the specified Uniform Resource Locator (URL) into the WebBrowser control.
WebBrowserDocumentCompletedEventHandler Fired when the WebBrowser control finishes loading a web page.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Represents the method that will handle the event of the control.
Name | Type | Description |
---|
Name | Description |
---|
Represents the method that will handle the event of a control.
Name | Type | Description |
---|
Name | Description |
---|
context
The current HttpContext.
Represents the method that will handle the WebRequest event of a Widget control.
url
A Uri representing the URL of the document to load.
url
The URL of the document to load.
Bindable components implement this interface.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
sender | The source of the event. |
e |
sender | The source of the event. |
e |
Fired when the widget used the "postbackUrl" to retrieve data from this control. |
A that contains the event data.
Fired when the control finishes loading a web page.
A that contains the event data.