System.Web
2.0.0.0
System.Web.UI.WebControls.HotSpot
This class defines a rectangular hot spot region in an control. To define the region of the object, set the property to the value that represents the x-coordinate of the rectangular region's top left corner. Set the property to the value that represents the y-coordinate of the rectangular region's top left corner. Set the property to the value that represents the x-coordinate of the rectangular region's bottom right corner. Set of the property to the value that represents the y-coordinate of the rectangular region's bottom right corner.
When a control is clicked, the page navigates to a URL, generates a post back to the server, or does nothing. The property specifies this behavior. To navigate to a URL, set the property to HotSpotMode.Navigate and use the property to specify the URL to navigate to. To post back to the server, set the property to HotSpotMode.PostBack and use the property to specify a name for the object. This name will be passed in the event data when the is clicked. . If you want the object to have no behavior, set the property to HotSpotMode.Inactive.
Defines a rectangular hot spot region in an control. This class cannot be inherited.
Constructor
Use this constructor to initialize a new instance of the class.
Initializes a new instance of the class.
2.0.0.0
Property
System.ComponentModel.DefaultValue(0)
System.Int32
To be added.
The property allows you to get or set a value that represents the y-coordinate of the bottom side of the rectangular region defined by this object. To completely define a object, you must specify a value for the this property and for the , , and properties.
Gets or sets the y-coordinate of the bottom side of the rectangular region defined by this object.
2.0.0.0
Method
System.String
This method returns a string that represents the coordinates of a object's top left corner and the coordinates of its bottom right corner. This method uses the values assigned to the and properties to return the coordinates for the top left corner. It uses the values assigned to the and properties to return the coordinates for the bottom right corner.
The method is used internally by ASP.NET to get the text to use for the coordinates of a when it is rendered. The string that is returned is specific to the browser and markup language.
Returns a string that represents the x -and y-coordinates of a object's top left corner and the x- and y-coordinates of its bottom right corner.
A string that represents the x- and y-coordinates of a object's top left corner and the x- and y-coordinates of its bottom right corner.
2.0.0.0
Property
System.ComponentModel.DefaultValue(0)
System.Int32
To be added.
The property allows you to get or set a value that represents the x-coordinate of the left side of the rectangular region defined by this object. To completely define a object, you must specify a value for the this property and for the , , and properties.
Gets or sets the x-coordinate of the left side of the rectangular region defined by this object.
2.0.0.0
Property
2.0.0.0
System.String
To be added.
The property is used internally by ASP.NET to get the string representation for the object's shape. This property always returns the string "rect". You cannot access this property directly from your application's code.
Gets the string representation for the object's shape.
Property
System.ComponentModel.DefaultValue(0)
System.Int32
To be added.
The property allows you to get or set a value that represents the x-coordinate of the right side of the rectangular region defined by this object. To completely define a object, you must specify a value for this property and for the , , and properties.
Gets or sets the x-coordinate of the right side of the rectangular region defined by this object.
2.0.0.0
Property
System.ComponentModel.DefaultValue(0)
System.Int32
To be added.
The property allows you to get or set a value that represents the y-coordinate of the top side of the rectangular region defined by this object. To completely define a object. you must specify a value for this property and for the , , and properties.
Gets or sets the y-coordinate of the top side of the rectangular region defined by this object.
2.0.0.0