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...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
NoRepeat
The pattern will be displayed only once (no repeat).
Repeat
Default. The pattern repeats both horizontally and vertically.
RepeatX
The pattern repeats only horizontally.
RepeatY
The pattern repeats only vertically.
Repeats the specified element in the specified direction. The repeated element can be used to draw/fill rectangles, circles, lines etc.
Wisej.Web.Canvas
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the HTML5 canvas element.
Initializes a new instance of the Canvas class.
BorderStyle: Indicates the border style for the control. (Default: None
)
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.IFramePanel
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents a control that displays any HTML file in an IFrame element.
Initializes a new instance of IFramePanel.
String: 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 deprecating-permissions-in-cross-origin-iframes for more information on the syntax and values to use in this attribute. (Default: null
)
BorderStyle: Indicates the border style for the control. (Default: None
)
Boolean: Returns or sets whether the control shows the scrollbars when needed. (Default: True
)
String: Returns or sets the source Url of the IFrame. (Default: ""
)
Reloads the contents of the IFrame.
EventHandler Fired when the IFrame has finished loading the document.
EventHandler Fired when the Url property is changed.
Wisej.Web.AspNetPanel
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.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.
Initializes a new instance of .
: Returns or sets the ASP.NET/MVC page to load in the control. (Default: ""
)
Wisej.Web.ImageListEntry
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents an entry in the component.
Initializes a new instance of .
Initializes a new instance of and sets the value of the property to the provided image .
Name | Type | Description |
---|
Initializes a new instance of and sets the value of the property to the provided image and to the provided key .
Name | Type | Description |
---|
Resets the references to the images.
Wisej.Web.HtmlPanelElementClickArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the event handler.
Initializes a new instance of the class.
Initializes a new instance of the class.
Name | Type | Description |
---|
: Returns the HTML of the element that was clicked in the panel.
The value in the Role property is taken from the "role" attribute of the clicked element inside the widget.
Wisej.Web.ImageList
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
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 |
---|
Throws:
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 |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|
Initializes a new instance of and sets the value of the property to the provided source .
Name | Type | Description |
---|
Initializes a new instance of and sets the value of the property to the provided source and to the provided key .
Name | Type | Description |
---|
: Returns the horizontal resolution, in pixels per inch, of this .
: Returns or sets the image.
: Returns or sets the source of the image, it can be a URL or a name of a themed image.
: Returns or sets the name (key) of the image in the image list.
: Returns the width and height of this image.
: Returns the pixel format for this .
: Returns the file format of this .
: Returns the width and height, in pixels, of this image.
: Returns the made transparent according to the value of .
: Returns the vertical resolution, in pixels per inch, of this .
: Returns the role attribute assigned to the element that generated the event.
Name | Description |
---|
: Returns the for this image list. (Default: null
)
: 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 . (Default: null
)
: Returns or sets the color to treat as transparent.
Name | Description |
---|
Center
The center of the text is placed at the specified position.
End
The text ends at the specified position.
Left
The text starts at the specified position.
Right
The text ends at the specified position.
Start
Default. The text starts at the specified position.
Sets or returns the current alignment for text content, according to the anchor point.
Butt
Default. A flat edge is added to each end of the line.
Round
A rounded end cap is added to each end of the line.
Square
A square end cap is added to each end of the line.
Sets or returns the style of the end caps for a line.
Copy
Displays the source image. The destination image is ignored.
DestinationAtop
Displays the destination image on top of the source image. The part of the destination image that is outside the source image is not shown.
DestinationIn
Displays the destination image in to the source image. Only the part of the destination image that is INSIDE the source image is shown, and the source image is transparent.
DestinationOut
Displays the destination image out of the source image. Only the part of the destination image that is OUTSIDE the source image is shown, and the source image is transparent.
DestinationOver
Displays the destination image over the source image.
Lighter
Displays the source image + the destination image.
SourceAtop
Displays the source image on top of the destination image. The part of the source image that is outside the destination image is not shown.
SourceIn
Displays the source image in to the destination image. Only the part of the source image that is INSIDE the destination image is shown, and the destination image is transparent.
SourceOut
Displays the source image out of the destination image. Only the part of the source image that is OUTSIDE the destination image is shown, and the destination image is transparent.
SourceOver
Default. Displays the source image over the destination image.
Xor
The source image is combined by using an exclusive OR with the destination image.
Sets or returns how a new image are drawn onto an existing image.
Bevel
Creates a beveled corner.
Miter
Default. Creates a sharp corner.
Round
Creates a rounded corner.
Sets or returns the type of corner created, when two lines meet.
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.
Controls that support drag & drop operations 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.
Alphabetic
Default. The text baseline is the normal alphabetic baseline.
Bottom
The text baseline is the bottom of the bounding box.
Hanging
The text baseline is the hanging baseline.
Ideographic
The text baseline is the ideographic baseline.
Middle
The text baseline is the middle of the em square.
Top
The text baseline is the top of the em square.
Sets or returns the current text baseline used when drawing text.
Represents a control that can host ASP.NET or MVC pages within a Wisej application.
Bindable components implement this interface.
Controls that support drag & drop operations 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.
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.
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.
Specifies whether the drawing should be counterclockwise or clockwise. Default is false.
Bindable components implement this interface. |
Controls that support drag & drop operations implement this interface. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
source |
source |
key | The name to assigned to the source image. |
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. |
image |
image |
key | The name to assigned to the image . |
element | Outer HTML of the clicked element. |
role | Value of the "role" attribute of the clicked element. |
sender | The source of the event. |
e | A that contains the event data. |
Fired when the user clicks on any element inside the html panel. |
container |
Wisej.Web.Label
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents a label control.
Initializes a new instance of the Label class.
Initializes a new instance of the Label class.
Name | Type | Description |
---|---|---|
Initializes a new instance of the Label class.
Name | Type | Description |
---|---|---|
Boolean: Returns or sets a value indicating that the control can display HTML in the Text property. (Default: False
)
Newlines (CRLF) are converted to <BR/> when AllowHtml is false, or when AllowHtml is true and the text doesn't contain any HTML.
AnchorStyles: Returns or sets the edges of the container to which a control is bound and determines how a control is resized with its parent. (Default: Top, Left
)
Boolean: 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. (Default: False
)
Boolean: Returns or sets a value that indicates whether the control resizes based on its contents. (Default: False
)
Since 3.5.6 Auto sizing behavior in the Label control is slightly different from other controls. When the label is a child of a standard container (i.e. Panel, Form, Page, GroupBox) and it's anchored to the right, auto sizing grows or shrinks the label's width preserving the left position. When the label is a child of a container with a custom LayoutEngine (i.e. FlexLayoutPanel, FlowLayoutPanel, TableLayoutPanel) the auto sizing behavior is the same as all other controls. You can change the default behavior using the AppContext switch "LabelSelfSize". See System.AppContext to learn how to set the switch. In code, you can set it in a static Program constructor:
Boolean: Returns or sets whether a tooltip is displayed when the text extends beyond the size of the label. (Default: False
)
The auto tooltip is set on the browser using the title attribute managed by the browser, does not use the themed tooltip managed by Wisej.NET.
BorderStyle: Indicates the border style for the control. (Default: None
)
CharacterCasing: Returns or sets the case of the text to display to the user. (Default: Normal
)
ICommand: Returns or sets the ICommand implementation to invoke. (Default: null
)
DialogResult: Returns or sets a value that is returned to the parent form when the button is clicked. (Default: None
)
DockStyle: Returns or sets which control borders are docked to its parent control and determines how a control is resized with its parent. (Default: None
)
Boolean: Enables or disables the browser's context menu. (Default: False
)
Image: Returns or sets the image that is displayed on a Label.
ContentAlignment: Returns or sets the alignment of an image that is displayed in the control. (Default: MiddleCenter
)
Int32: Returns or sets the image list index value of the image displayed on the label control. (Default: -1
)
Throws:
ArgumentOutOfRangeException The specified index is less than -1.
String: Returns or sets the key accessor for the image in the ImageList. (Default: ""
)
ImageList: Returns or sets the ImageList that contains the images to display in the Label control. (Default: null
)
String: Returns or sets the theme name or URL for the image to display in the Label.
Boolean: EXPERIMENTAL: Return or sets whether the label resize itself when AutoSize is true and it's in a container using the default layout engine: i.e.: Panel, Form, Page, GroupBox, UserControl. Since 3.5.6 (Default: True
)
When self sizing is active (default for standard containers) an auto sizing label will always grow to the right side, even when anchored right, preserving it's left position. This is the default behavior in WinForms applications.
Boolean: EXPERIMENTAL: Default value for the SelfSize property. Since 3.5.6
The default is true. You can set the value by code or using AppContext switches: AppContext.SetSwitch("LabelSelfSize", false);
String: Returns or sets the text associated with this control. (Default: ""
)
Newlines (CRLF) are converted to <BR/> when AllowHtml is false, or when AllowHtml is true and the text doesn't contain any HTML.
ContentAlignment: Returns or sets the alignment of text in the label. (Default: TopLeft
)
Boolean: Returns or sets whether the first character that is preceded by an ampersand (&) is used as the mnemonic key of the control. (Default: True
)
Generates a Click event for the LinkLabel control.
EventHandler Fired when the Command property value changes.
Wisej.Web.LinkLabel
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents an hyper-link control.
Initializes a new default instance of the LinkLabel class.
Initializes a new instance of the LinkLabel class with the specified text.
Name | Type | Description |
---|---|---|
Initializes a new instance of the Label class.
Color: Returns or sets the color used to display an active link (while being pressed).
Color: Returns or sets the color used when displaying a disabled link.
LinkArea: Returns or sets the range in the text to treat as a link.
Throws:
ArgumentOutOfRangeException The Start property of the LinkArea object is less than zero; or the Length property of the LinkArea object is less than -1.
LinkBehavior: Returns or sets a value that represents the behavior of a link. (Default: SystemDefault
)
Color: Returns or sets the color used when displaying a link.
Boolean: Returns or sets whether the user can give the focus to this control using the TAB key. (Default: False
)
Generates a Click event for the LinkLabel control.
LinkLabelLinkClickedEventHandler Fired when a link is clicked within the control.
EventHandler Fired when the value of the TabStop property changes.
Wisej.Web.LinkArea
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents an area within a LinkLabel control that represents a hyperlink within the control.
Initializes a new instance of the LinkArea class.
Name | Type | Description |
---|---|---|
Boolean: Returns a value indicating whether the LinkArea is empty.
Int32: Returns or sets the number of characters in the link area.
Int32: Returns or sets the starting location of the link area within the text of the LinkLabel.
Wisej.Web.LinkLabelLinkClickedEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the LinkClicked event.
Initializes a new instance of the LinkLabelLinkClickedEventArgs class with the specified link.
Name | Type | Description |
---|---|---|
String: Returns the link that was clicked.
Name | Description |
---|---|
Wisej.Web.HtmlPanel
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.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. (Default: False
)
BorderStyle: Indicates the border style for the control. (Default: None
)
String: Returns or sets the CSS rules to apply to the html content. (Default: ""
)
String: Returns or sets the HTML text to display in the HtmlPanel control. (Default: ""
)
String: Returns or sets the html file name to display in the HtmlPanel control. (Default: ""
)
ScrollBars: Returns or sets the type of scroll bars to display for the HtmlPanel control. (Default: Both
)
String: Returns or sets the css file name to apply to the html text in HtmlPanel control. (Default: ""
)
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.
Wisej.Web.ImageList ImageCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Encapsulates the collection of ImageListEntry objects in an ImageList.
Int32: Returns the number of ImageListEntry in the collection.
ImageListEntry: Returns the image at the index.
ImageListEntry: Returns the first image identified by the key.
List<String>: Returns a collection with all the image keys.
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.
Adds an array of ImageListEntry to the collection.
Throws:
ArgumentNullException entries is null.
ArgumentException entries is the child of another TreeView.
Removes all images from the collection.
Finds if the collection contains the image .
Returns: Boolean. True if the collection contains the specified image .
Finds if the collection contains the image key .
Returns: Boolean. True if the collection contains the specified key .
Returns an enumerator that iterates the images in the collection.
Returns: IEnumerator.
Returns the index of the image in the collection.
Returns: Int32. The index of the specified image in the collection; otherwise -1 if not found.
Returns the index of the image key in the collection.
Returns: Int32. The index of the specified key in the collection; otherwise -1 if not found.
Inserts the ImageListEntry at the specified index.
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.
Wisej.Web.Line
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents a line control.
Initializes a new instance of the Line class.
Color: Returns or sets a value indicating the color of the line.
Int32: Indicates the size of the line in pixels.
LineStyle: Indicates the LineStyle of the Line control.
Orientation: Returns or sets a value indicating the horizontal or vertical orientation of the Line control. (Default: Horizontal
)
Wisej.Web.ProgressBar
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents a progress control that displays a value visually as a filled bar.
Initializes a new instance of the class.
Initializes a new instance of the class with the specified settings. Sets the and properties based on the provided parameters.
Name | Type | Description |
---|
Throws:
Throws:
Throws:
Advances the current position of the progress bar by the specified amount.
Wisej.Web.ScrollBar
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Implements the basic functionality of a scroll bar control.
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. (Default: 10
)
Throws:
The assigned value is less than 0.
Throws:
Throws:
Wisej.Web.PdfViewer
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
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. (Default: None
)
You can use the following placeholders in the ViewerURL string:
[source]: Replaced with the postback URL to the PdfViewer control that serves the PDF content.
counterClockwise
counterClockwise
All wisej controls derived from the class must implement this interface.
Initial source for the property.
Initial source for the property.
Represents the method that will handle the event.
Initial .
Initial .
An that represents the container of the .
Name | Description |
---|---|
Name | Description |
---|---|
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Name | 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 |
---|---|---|
Name | Description |
---|---|
: Returns or sets the color of the progress bar portion.
: Indicates the border style for the control. (Default: None
)
: Returns or sets the maximum value of the range of the control. (Default: 100
)
The value specified is less than 0.
: Returns or sets the minimum value of the range of the control. (Default: 0
)
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. (Default: 10
)
: Returns or sets the current position of the progress bar. (Default: 0
)
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 |
---|
: Returns or sets the upper limit of values of the scrollable range. (Default: 100
)
: Returns or sets the lower limit of values of the scrollable range. (Default: 0
)
: Returns the orientation of the scrollbar control.
: Returns or sets the value to be added to or subtracted from the property when the scroll box is moved a small distance. (Default: 1
)
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. (Default: False
)
: Returns or sets a numeric value that represents the current position of the scroll box on the scroll bar control. (Default: 0
)
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 |
---|
: Returns or sets the file name used in the "Content-Disposition" header when returning the PDF content to the PDF viewer. The name may be used when downloading the file, depending on the type of PDF viewer loaded in the browser. Since 3.5.5
When is not assigned, the PdfViewer will use the file name extracted from the property. When using the instead, the file name is left blank unless specified using the property.
: Returns or sets the pdf file name to display in the control. (Default: ""
)
: Returns or sets the pdf stream to display in the control.
: Returns or sets the to use on the client. (Default: Auto
)
: Returns or sets the URL of the PDF viewer to use on the client. It's required when is , optional for or , and not used for . (Default: ""
)
[filename]: Replaced with the value of and the ".pdf" extension in case the file name doesn't specify an extension.
Fired when the PdfSource property is changed.
Name | Description |
---|
Represents an hyper-link control.
Bindable components implement this interface.
Allows a control to act like a button on a Form.
Defines an object that can invoke a Command.
Controls that support drag & drop operations implement this interface.
Exposes a common api implemented by components that can collect errors in relation to a Control.
Provides access to common image properties across the controls that 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.
text
Initial text.
location
Initial location.
size
Initial size.
onLinkClicked
The event handler that executes when the link area is clicked.
Bindable components implement this interface.
Allows a control to act like a button on a Form.
Defines an object that can invoke a Command.
Controls that support drag & drop operations implement this interface.
Exposes a common api implemented by components that can collect errors in relation to a Control.
Provides access to common image properties across the controls that 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.
Returns or sets the range in the text to treat as a link.
Bindable components implement this interface.
Controls that support drag & drop operations 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.
key
The key associated with the image .
image
An Image to add to the list.
key
The key associated with the imageSource .
imageSource
The name or URL of the image to add to the list.
image
An Image to add to the list.
imageSource
The name or URl of the image to add to the list.
entry
The ImageListEntry to add to the collection.
entries
An array of ImageListEntry objects
image
The Image to locate in the collection.
key
The key to locate in the collection.
image
The Image to located in the collection.
key
The key to located in the collection.
index
The position in the collection where to add the entry .
entry
The ImageListEntry to add to the collection at the specified index .
image
The Image to remove from the collection.
index
The index of the ImageListEntry to remove from the collection.
key
The key of the ImageListEntry to remove from the collection.
index
The index of the ImageListEntry to change.
name
The new name of the ImageListEntry at the specified index .
Bindable components implement this interface.
Controls that support drag & drop operations 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.
value | The amount by which to increment the progress bar's current position. |
Bindable components implement this interface. |
Controls that support drag & drop operations 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. |
Controls that support drag & drop operations implement this interface. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
Bindable components implement this interface. |
Controls that support drag & drop operations 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. |
text
Initial text.
text
Initial text.
location
Initial location.
size
Initial size.
text
The text to display on the LinkLabel.
onLinkClicked
The event handler that executes when the link area is clicked.
start
The zero-based starting location of the link area within the text of the LinkLabel.
length
The number of characters, after the starting character, to include in the link area.
link
The link that was clicked.
Represents the method that will handle the LinkClicked event of a LinkLabel.
sender | The source of the event. |
e | A that contains the event data. |
Fired when a link is clicked within the control. |
location | The location of the progress bar on its parent control. |
size | The size of the progress bar. |
Auto | The PDF viewer is selected by the client browser. |
Custom | Use a custom viewer defined in the property. Use the [source] placeholder in the URL to indicate where to insert the URL to the file source. |
Use Google's document viewer. The URL of the Google viewer can be changed in the property. |
Mozilla | Use Mozilla PDF.js viewer. The URL of the Mozilla viewer can be changed in the property. |
Returns or sets the to use on the client. |
Wisej.Web.PictureBox
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents an image control.
Initializes a new instance of the PictureBox class.
Initializes a new instance of the PictureBox class with specified settings.
Name | Type | Description |
---|---|---|
Initializes a new instance of the PictureBox class with specified settings.
Initializes a new instance of the PictureBox class with specified settings.
Initializes a new instance of the PictureBox class with specified settings.
Initializes a new instance of the PictureBox class with specified settings.
BorderStyle: Indicates the border style for the control. (Default: None
)
ICommand: Returns or sets the ICommand implementation to invoke. (Default: null
)
DialogResult: Returns or sets a value that is returned to the parent form when the button is clicked. (Default: None
)
String: Returns or sets the filter (filter) to apply to the picture. (Default: null
)
Image: Returns or sets the image that is displayed by PictureBox.
String: Returns or sets the theme name or URL for the image to display in the PictureBox.
PictureBoxSizeMode: Indicates how the image is displayed. (Default: Normal
)
Sets the ImageSource to the specified URL and displays the image indicated.
Loads the image at the specified location, asynchronously.
Generates a Click event for the LinkLabel control.
EventHandler Fired when the Command property value changes.
EventHandler Fired when the asynchronous image-load operation is completed.
EventHandler Fired when SizeMode changes.
Wisej.Web.ScrollEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the method that handles the Scroll event of a ScrollableControl, ScrollBar, TrackBar, or DataGridView.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.HScrollProperties
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides basic properties for the HScrollBar
Initializes a new instance of the HScrollProperties class.
Name | Type | Description |
---|---|---|
ScrollOrientation: Returns the orientation of the scrollbar. (Default: False
)
Boolean: Returns whether the scroll bar is visible. (Default: False
)
Wisej.Web.ScrollEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the Scroll event.
Initializes a new instance of the ScrollEventArgs class using the given values for the Type and NewValue properties.
Name | Type | Description |
---|---|---|
Initializes a new instance of the ScrollEventArgs class using the given values for the Type and NewValue properties.
Name | Type | Description |
---|---|---|
Initializes a new instance of the ScrollEventArgs class using the given values for the Type, NewValue, and ScrollOrientation properties.
Name | Type | Description |
---|---|---|
Initializes a new instance of the ScrollEventArgs class using the given values for the Type, OldValue, and NewValue properties.
Initializes a new instance of the ScrollEventArgs class using the given values for the Type, OldValue, NewValue, and ScrollOrientation properties.
Int32: Returns or sets the new Value of the scroll bar.
Int32: Returns the old Value of the scroll bar.
ScrollOrientation: Returns the scroll bar orientation that raised the Scroll event.
ScrollEventType: Returns the type of scroll event that occurred.
Wisej.Web.VScrollBar
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents a vertical scroll bar.
Initializes a new instance of VScrollBar.
Orientation: Returns the orientation of the scrollbar control.
Wisej.Web.HScrollBar
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents an horizontal scroll bar.
Initializes a new instance of HScrollBar.
Orientation: Returns the orientation of the scrollbar control.
Wisej.Web.Shape
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents a shape control. Displays an element a border in any of the four sides.
Initializes a new instance of the Shape class.
Border: Defines the border style for all the four sides.
Border: Defines the border style for the bottom side.
Border: Defines the border style for the left side.
Border: Defines the border style for the right side.
Border: Defines the border style for the top side.
Int32: Returns or sets the rotation in degrees. (Default: 0
)
Wisej.Web.VScrollProperties
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides basic properties for the VScrollBar class.
Initializes a new instance of the VScrollProperties class.
Name | Type | Description |
---|---|---|
ScrollOrientation: Returns the orientation of the scrollbar. (Default: False
)
Boolean: Returns whether the scroll bar is visible. (Default: False
)
Wisej.Web.Upload
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represent an upload widget. Allows users to selected one or more files and upload them to the server.
Initializes a new instance of .
: Specify the types of files that the server accepts (that can be submitted through a file upload). (Default: ""
)
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 for a complete list of standard media types.
Throws:
Aborts the current upload request, if in progress.
Opens the file selection dialog and uploads the files selected by the user.
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.
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.
Wisej.Web.UploadedEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the event.
Initializes a new instance of the class with the specified collection of uploaded files.
Name | Type | Description |
---|
: Returns the collection of uploaded files.
Name | Description |
---|
Wisej.Web.Shape Border
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents one of the four borders in the control.
Initializes a new instance of the class.
: Returns or sets a value indicating the color of the borders in the control.
: Indicates the radius of the border in pixels.
All wisej controls derived from the class must implement this interface.
All wisej controls derived from the class must implement this interface.
All wisej controls derived from the class must implement this interface.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
: Returns or sets whether the upload control allows the selection of a directory for upload. (Default: False
)
: Returns or sets whether the upload control allows the selection of multiple files. (Default: False
)
: Returns or sets the position of the upload button relative to the value field.. (Default: MiddleRight
)
: Returns or sets a value that specifies which camera to use for capture of image or video data, if the property indicates that the input should be of one of those types. (Default: Default
)
: Returns or sets whether the value field is visible. (Default: False
)
: Returns or sets the icon that is displayed in the upload button in the control.
: Returns or sets the theme name or URL for the icon to display in the upload button in the control.
: Returns or sets a value that indicates that the control is invalid.
: Returns or sets the invalid message that is shown in the invalid tooltip. (Default: ""
)
: Returns or sets the maximum file size in bytes. (Default: 0
)
The value specified is less than 0.
: Returns or sets whether the upload control shows a the ajax-loader image when uploading the file(s). (Default: True
)
: Returns or sets the text associated with this control. (Default: ""
)
: Returns or sets the alignment of the text on the button control. (Default: MiddleCenter
)
: Returns or sets the text to display in the text fields part of the control. (Default: ""
)
Fired when the control generates an upload error.
Fired while the control receives the data being uploaded.
Fired when files are uploaded to the control.
Fired before the control received the files being uploaded.
Fired when the user has selected the files to upload.
Name | Description |
---|
: Indicates the size of the border in pixels.
: Indicates the style of the border.
Fired when a property value changes.
imageSource
The source path of the image to display in the picture box.
sizeMode
The size mode for the picture box, optional and defaults to PictureBoxSizeMode.Normal.
location
The location of the TextBox on its parent control.
size
The size of the TextBox.
image
The Image object to display in the picture box.
location
The location of the TextBox on its parent control.
size
The size of the TextBox.
sizeMode
The size mode for the picture box, optional and defaults to Normal.
imageSource
The source path of the image to display in the picture box.
location
The location of the TextBox on its parent control.
size
The size of the TextBox.
sizeMode
The size mode for the picture box, optional and defaults to Normal.
url
The path for the image to display in the PictureBox.
url
The path for the image to display in the PictureBox.
Bindable components implement this interface.
Allows a control to act like a button on a Form.
Defines an object that can invoke a Command.
Controls that support drag & drop operations implement this interface.
Provides access to common image properties across the controls that 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
A ScrollEventArgs that contains the event data.
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.
Fired when the SlideBar widget scrolls its content.
Fired when the user or code scrolls the ListView.
type
One of the ScrollEventType values.
oldValue
The old value for the scroll bar.
newValue
The new value for the scroll bar.
type
One of the ScrollEventType values.
oldValue
The old value for the scroll bar.
newValue
The new value for the scroll bar.
scroll
One of the ScrollOrientation values.
Represents the method that handles the Scroll event of a ScrollableControl, ScrollBar, TrackBar, or DataGridView.
Bindable components implement this interface.
Controls that support drag & drop operations 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.
Controls that support drag & drop operations 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.
Controls that support drag & drop operations 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. |
Controls that support drag & drop operations implement this interface. |
Provides access to the validation events and properties property for controls that support validation. |
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. |
image
The Image object to display in the picture box.
sizeMode
The size mode for the picture box, optional and defaults to PictureBoxSizeMode.Normal.
owner
A Control that contains the scroll bar.
args
The arguments received from the client.
type
One of the ScrollEventType values.
newValue
The new value for the scroll bar.
type
One of the ScrollEventType values.
newValue
The new value for the scroll bar.
scroll
One of the ScrollOrientation values.
owner
A Control that contains the scroll bar.
files |
Bindable components implement this interface. |
Controls that support drag & drop operations implement this interface. |
All wisej components implement this interface. |
All wisej controls derived from the class must implement this interface. |
Allows an object to serialize itself. |
sender | The source of the event. |
e | A that contains the event data. |
Fired when files are uploaded to the control. |
Wisej.Web.UploadErrorEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the Error event.
Initializes a new instance of the UploadErrorEventArgs class with the specified error message.
Name | Type | Description |
---|---|---|
UploadErrorType: Returns the error type.
String[]: List of file names that failed to upload.
Int64[]: List of file sizes that failed to upload.
String: Returns the error message.
Wisej.Web.UploadingEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the Uploading event.
Initializes a new instance of the UploadingEventArgs class with the specified collection of uploaded files.
Name | Type | Description |
---|---|---|
String[]: Returns an array containing the names of the files being uploaded.
Int64[]: Returns an array containing the sizes in bytes of the files being uploaded.
Wisej.Web.CaptureMode
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Specifies the possible values for the CaptureMode property.
Name | Description |
---|---|
Name | Description |
---|---|
Wisej.Web.UploadProgressEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the Progress event.
Initializes a new instance of the UploadProgressEventArgs class with the specified error message.
Name | Type | Description |
---|---|---|
Int64: The number of bytes transferred.
Int64: The total number of bytes of content that will be transferred.
Wisej.Web.WebBrowser
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.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.
Initializes a new instance of the WebBrowser class with a URL as a string and an event handler for the DocumentCompleted event.
Name | Type | Description |
---|---|---|
Initializes a new instance of the WebBrowser class with a specified location and size.
Initializes a new instance of the WebBrowser class with the specified settings.
BorderStyle: Indicates the border style for the control. (Default: Solid
)
Boolean: Returns or sets a value indicating whether scroll bars are displayed in the WebBrowser control. (Default: True
)
Uri: Returns or sets the URL of the current document. (Default: null
)
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.
Wisej.Web.WebRequestEventArgs
Wisej.Web.WebBrowserDocumentCompletedEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the event.
Initializes a new instance of the class.
Name | Type | Description |
---|
: Returns the location of the document where the control has navigated.
Name | Description |
---|
Wisej.Web.ScrollProperties
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Encapsulates properties related to scrolling.
: Returns the orientation of the scrollbar. (Default: False
)
: Returns or sets a numeric value that represents the current position of the scroll bar. (Default: 0
)
: Returns whether the scroll bar is visible. (Default: False
)
Name | Description |
---|
All wisej controls derived from the class must implement this interface.
An instance of containing the uploaded files.
Represents the method that will handle the event of a control.
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Name | Description |
---|
sender
The source of the event.
e
A UploadingEventArgs that contains the event data.
Fired before the Upload control received 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.
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.
location
The location of the WebBrowser on its parent control.
size
The size of the WebBrowser.
onDocumentCompleted
An Action delegate to handle the DocumentCompleted event. Can be null.
url
The URL of the webpage to be loaded in the WebBrowser as a string.
location
The location of the WebBrowser on its parent control.
size
The size of the WebBrowser.
onDocumentCompleted
An Action delegate to handle the DocumentCompleted event. Can be null.
url
A Uri representing the URL of the document to load.
url
The URL of the document to load.
Bindable components implement this interface.
Controls that support drag & drop operations 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
A UploadErrorEventArgs that contains the event data.
Fired when the Upload control generates an upload error.
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 sizes that failed to upload.
fileNames
A string array containing the named of the files being uploaded.
fileSizes
An integer array containing the sizes of the files being uploaded.
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.
url
The URL of the webpage to be loaded in the WebBrowser as a string.
onDocumentCompleted
An Action delegate to handle the DocumentCompleted event. Can be null.
context |
sender | The source of the event. |
e | A that contains the event data. |
Fired while the control receives the data being uploaded. |
url |
sender | The source of the event. |
e | A that contains the event data. |
Fired when the widget used the "postbackUrl" to retrieve data from this control. |
sender | The source of the event. |
e | A that contains the event data. |
Fired when the control finishes loading a web page. |
Wisej.Web.Widget
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides a generic widget that can use most third party javascript widgets.
See the property for a detailed description on how to initialize the imported widget.
Initializes a new instance of the class.
: Indicates the border style for the control. (Default: None
)
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:
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.
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 third party libraries, and others may use callback methods.
Registers the event handler to listen to the event eventName fired by the third party widget.
VB.NET muse use this method to attach an event handler to the widget's events.
Throws:
Removes the event handler for the eventName fired by the third party widget.
Throws:
Represents the method that will handle the event of a control.
The current .
The of the document that was loaded.
Represents the method that will handle the event of the control.
Provides basic properties for the
Provides basic properties for the class.
: Enables or disables the browser's context menu. (Default: False
)
: Returns or sets the initialization script.
The "options" parameter is optional. It contains a javascript map with all the options defined in the 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 and receive any data passed in the "fireWidgetEvent" call in the dynamic object.
: Returns a 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 property. Dynamic method calls are automatically transformed to JavaScript client calls.
C# can also attach to client side events fired by the third party widget by simply adding an handler to the event name prefixed by "on". VB.NET cannot attach to dynamic events and must insted use the method to attach an event listener to an event fired by the widget.
: Returns whether the JavaScript widget has been initialized.
: 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.
The class automatically detects changes to first level fields only. If your code changes a nested object you have to either call or notify the object that a property has changed like this:
: List of packages required to run this widget.
: 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 list, the application code can attach a listener to the dynamic object like any native event.
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 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 collection. Additionally, instead of having to iterate the this.getEvents() collection in the widget's initScript, you can override "_addListener", "_removeListener", "_getEventData".
Parameter | Type | Description |
---|
eventName or handler is null.
Parameter | Type | Description |
---|
eventName or handler is null.
Fired when the widget is created on the client.
Fired when the widget used the "postbackUrl" to retrieve data from this control.
Name | Description |
---|
eventName | Name of the event fired by the third party widget. |
handler | Function that handles the event on the server side. |
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. |
Controls that support drag & drop operations 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. |
expression
All wisej controls derived from the class must implement this interface.