Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / WebControls / RectangleHotSpot.cs / 1 / RectangleHotSpot.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Globalization; using System.Web.UI; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class RectangleHotSpot : HotSpot { [ WebCategory("Appearance"), DefaultValue(0), WebSysDescription(SR.RectangleHotSpot_Bottom), ] public int Bottom { get { object o = ViewState["Bottom"]; return o != null? (int)o : 0; } set { ViewState["Bottom"] = value; } } [ WebCategory("Appearance"), DefaultValue(0), WebSysDescription(SR.RectangleHotSpot_Left), ] public int Left { get { object o = ViewState["Left"]; return o != null? (int)o : 0; } set { ViewState["Left"] = value; } } [ WebCategory("Appearance"), DefaultValue(0), WebSysDescription(SR.RectangleHotSpot_Right), ] public int Right { get { object o = ViewState["Right"]; return o != null? (int)o : 0; } set { ViewState["Right"] = value; } } [ WebCategory("Appearance"), DefaultValue(0), WebSysDescription(SR.RectangleHotSpot_Top), ] public int Top { get { object o = ViewState["Top"]; return o != null? (int)o : 0; } set { ViewState["Top"] = value; } } protected internal override string MarkupName { get { return "rect"; } } public override string GetCoordinates() { return Left + "," + Top + "," + Right + "," + Bottom; } } }Implements HotSpot for rectangle regions. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- QueryStringParameter.cs
- RijndaelManagedTransform.cs
- WsatServiceCertificate.cs
- WebPermission.cs
- Debug.cs
- ExpressionBindingCollection.cs
- PixelFormat.cs
- RecipientInfo.cs
- Base64WriteStateInfo.cs
- SqlDataReader.cs
- Ops.cs
- System.Data_BID.cs
- Profiler.cs
- CultureMapper.cs
- WebPartDeleteVerb.cs
- StringStorage.cs
- ParsedAttributeCollection.cs
- GetWinFXPath.cs
- XmlHierarchicalDataSourceView.cs
- LogEntrySerializationException.cs
- DesignerActionUIStateChangeEventArgs.cs
- FunctionDescription.cs
- IRCollection.cs
- LineServices.cs
- SessionStateSection.cs
- LoadedOrUnloadedOperation.cs
- HttpFileCollection.cs
- MSG.cs
- HwndSourceParameters.cs
- PlatformCulture.cs
- OracleNumber.cs
- ForEachAction.cs
- ProjectionCamera.cs
- ValidationRuleCollection.cs
- DataGrid.cs
- BaseAppDomainProtocolHandler.cs
- Console.cs
- DataSourceView.cs
- TextRangeEditLists.cs
- FixedMaxHeap.cs
- Boolean.cs
- BookmarkResumptionRecord.cs
- DecimalAverageAggregationOperator.cs
- RowToFieldTransformer.cs
- SystemIPGlobalProperties.cs
- ObjectTag.cs
- XslCompiledTransform.cs
- ProfileServiceManager.cs
- Faults.cs
- HttpHandlersSection.cs
- Substitution.cs
- ScaleTransform3D.cs
- ExternalCalls.cs
- DropTarget.cs
- MenuCommand.cs
- PropertyGridView.cs
- OdbcException.cs
- AlignmentXValidation.cs
- BinaryObjectReader.cs
- WorkflowTraceTransfer.cs
- NavigationProperty.cs
- NativeMsmqMessage.cs
- HGlobalSafeHandle.cs
- ContentValidator.cs
- altserialization.cs
- ScriptingProfileServiceSection.cs
- TreeViewImageKeyConverter.cs
- SQLDoubleStorage.cs
- BoundColumn.cs
- ConfigXmlSignificantWhitespace.cs
- RepeatBehaviorConverter.cs
- HtmlControlPersistable.cs
- GridViewColumnHeader.cs
- ConfigurationValidatorBase.cs
- ClientApiGenerator.cs
- WindowsTab.cs
- CodeChecksumPragma.cs
- LingerOption.cs
- TripleDES.cs
- VisualState.cs
- Pool.cs
- SpecialNameAttribute.cs
- SystemWebCachingSectionGroup.cs
- printdlgexmarshaler.cs
- NavigationEventArgs.cs
- MeasurementDCInfo.cs
- InvocationExpression.cs
- PermissionListSet.cs
- ValidatedControlConverter.cs
- RelationHandler.cs
- OracleDateTime.cs
- namescope.cs
- XmlSchemaDocumentation.cs
- UserPersonalizationStateInfo.cs
- ServiceOperationHelpers.cs
- ExceptionRoutedEventArgs.cs
- DocumentPaginator.cs
- SplineQuaternionKeyFrame.cs
- connectionpool.cs
- HtmlHead.cs