Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Implements HotSpot for rectangle regions. ///// 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; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Implements HotSpot for rectangle regions. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XPathDocumentBuilder.cs
- XPathQilFactory.cs
- HttpContextWrapper.cs
- ExpressionBindingCollection.cs
- TraceHandlerErrorFormatter.cs
- PenLineJoinValidation.cs
- UpdateRecord.cs
- AppDomainResourcePerfCounters.cs
- RayHitTestParameters.cs
- BitmapEditor.cs
- MemberMemberBinding.cs
- SystemIPGlobalStatistics.cs
- VirtualPath.cs
- DbDataAdapter.cs
- Touch.cs
- RadioButton.cs
- TextMessageEncodingElement.cs
- EnvironmentPermission.cs
- SessionStateUtil.cs
- FilteredReadOnlyMetadataCollection.cs
- Fonts.cs
- InputProcessorProfiles.cs
- RemotingService.cs
- Stylesheet.cs
- SemanticBasicElement.cs
- Command.cs
- SQLInt64.cs
- XmlParser.cs
- CqlLexerHelpers.cs
- InputProviderSite.cs
- LockedHandleGlyph.cs
- TreeNodeStyle.cs
- LiteralControl.cs
- NavigatingCancelEventArgs.cs
- ComponentEditorForm.cs
- ComponentGlyph.cs
- UInt64Converter.cs
- BasicCellRelation.cs
- ImageEditor.cs
- HtmlAnchor.cs
- Activator.cs
- TemplatePropertyEntry.cs
- EmptyEnumerator.cs
- login.cs
- SqlMetaData.cs
- DataBinding.cs
- NetMsmqSecurityElement.cs
- ConvertBinder.cs
- NullableLongMinMaxAggregationOperator.cs
- TextEditor.cs
- ZipArchive.cs
- KnownIds.cs
- OrderingQueryOperator.cs
- RoleManagerEventArgs.cs
- RoleGroupCollection.cs
- Timeline.cs
- CodeFieldReferenceExpression.cs
- WebPartConnectVerb.cs
- Metafile.cs
- ServiceDebugElement.cs
- HwndSubclass.cs
- XmlObjectSerializerReadContext.cs
- CriticalHandle.cs
- BuildManager.cs
- BulletedListEventArgs.cs
- WebBrowser.cs
- InputLangChangeRequestEvent.cs
- MasterPageCodeDomTreeGenerator.cs
- TransformedBitmap.cs
- WebSysDisplayNameAttribute.cs
- DesignerEditorPartChrome.cs
- ToolboxDataAttribute.cs
- SchemaDeclBase.cs
- documentsequencetextview.cs
- CapabilitiesState.cs
- WebPartExportVerb.cs
- StringAnimationUsingKeyFrames.cs
- MaterialCollection.cs
- NumberSubstitution.cs
- PieceDirectory.cs
- PropertyTabAttribute.cs
- ServiceHttpModule.cs
- DateTimePickerDesigner.cs
- LoadedOrUnloadedOperation.cs
- InstanceDescriptor.cs
- OracleFactory.cs
- EmptyImpersonationContext.cs
- WebHttpSecurity.cs
- StringResourceManager.cs
- SerializationInfoEnumerator.cs
- NetStream.cs
- DataGridViewRowStateChangedEventArgs.cs
- QueryActivatableWorkflowsCommand.cs
- ClientSponsor.cs
- FileNotFoundException.cs
- CornerRadius.cs
- CompilerGeneratedAttribute.cs
- ExtendedTransformFactory.cs
- CurrentChangingEventArgs.cs
- GridViewRowPresenterBase.cs