Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- Shape.cs
- DataGridViewCell.cs
- ExpressionBindingCollection.cs
- Script.cs
- DetailsViewPagerRow.cs
- PersianCalendar.cs
- ListDataBindEventArgs.cs
- DoubleLink.cs
- NamespaceList.cs
- Cursors.cs
- ProvidersHelper.cs
- EntitySet.cs
- SynchronizedInputPattern.cs
- StylusDevice.cs
- BitmapEffectrendercontext.cs
- AttributedMetaModel.cs
- TabControl.cs
- CqlBlock.cs
- CodeParameterDeclarationExpression.cs
- _Rfc2616CacheValidators.cs
- StructuredTypeEmitter.cs
- PointAnimationUsingKeyFrames.cs
- ColumnPropertiesGroup.cs
- CompiledScopeCriteria.cs
- ParallelTimeline.cs
- PersianCalendar.cs
- DataGridViewRowsRemovedEventArgs.cs
- Opcode.cs
- BitmapEffectInput.cs
- ClassicBorderDecorator.cs
- x509store.cs
- PartialCachingControl.cs
- SpellerHighlightLayer.cs
- GenericRootAutomationPeer.cs
- AdornedElementPlaceholder.cs
- DbDataReader.cs
- ToolBarButtonClickEvent.cs
- PageTrueTypeFont.cs
- _SecureChannel.cs
- WindowsAuthenticationEventArgs.cs
- SqlDataSourceEnumerator.cs
- ForwardPositionQuery.cs
- SafeSecurityHelper.cs
- FileRecordSequenceCompletedAsyncResult.cs
- TemplateControlCodeDomTreeGenerator.cs
- ActiveXContainer.cs
- RuleSettings.cs
- Expressions.cs
- RightsManagementInformation.cs
- MetadataArtifactLoaderCompositeResource.cs
- ToolStripContainerActionList.cs
- InstanceKeyView.cs
- BuiltInPermissionSets.cs
- DataServiceRequestException.cs
- XmlDictionaryReader.cs
- DataGridRow.cs
- SBCSCodePageEncoding.cs
- SourceElementsCollection.cs
- _NestedSingleAsyncResult.cs
- InstancePersistenceException.cs
- TogglePattern.cs
- QuaternionAnimationBase.cs
- ActionFrame.cs
- ProtocolReflector.cs
- webbrowsersite.cs
- GradientBrush.cs
- BooleanAnimationUsingKeyFrames.cs
- FixedDocumentPaginator.cs
- GridItemPattern.cs
- ValidatorUtils.cs
- EmptyEnumerator.cs
- Task.cs
- SqlTypeSystemProvider.cs
- CurrentTimeZone.cs
- versioninfo.cs
- BaseResourcesBuildProvider.cs
- EdmItemCollection.cs
- ImageDrawing.cs
- LinearGradientBrush.cs
- StructuredProperty.cs
- ConfigurationSectionHelper.cs
- KeyValueInternalCollection.cs
- HebrewCalendar.cs
- ResourceReferenceKeyNotFoundException.cs
- ImageInfo.cs
- SequentialUshortCollection.cs
- TextLine.cs
- XPathNodePointer.cs
- XmlSchemaAnnotated.cs
- EUCJPEncoding.cs
- DataKeyArray.cs
- NativeMethods.cs
- WindowsScrollBarBits.cs
- StyleSelector.cs
- DefaultValueConverter.cs
- BuildProviderAppliesToAttribute.cs
- FocusTracker.cs
- Pair.cs
- SafeBitVector32.cs
- ProviderSettings.cs