Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved.Implements HotSpot for rectangle regions. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Region.cs
- UnsafeNativeMethods.cs
- TrustManagerPromptUI.cs
- _NegoState.cs
- LinkClickEvent.cs
- CFStream.cs
- BuildProviderCollection.cs
- XmlSignificantWhitespace.cs
- RSAPKCS1SignatureDeformatter.cs
- Clock.cs
- StylusPlugInCollection.cs
- ProfileServiceManager.cs
- DesignerCategoryAttribute.cs
- RepeaterItemEventArgs.cs
- PrinterUnitConvert.cs
- QualifierSet.cs
- DBConcurrencyException.cs
- XPathNodeInfoAtom.cs
- WebPartZoneDesigner.cs
- DataGridViewRowPostPaintEventArgs.cs
- PersistChildrenAttribute.cs
- StatusBarAutomationPeer.cs
- RootAction.cs
- Constants.cs
- HttpStreamXmlDictionaryReader.cs
- DropTarget.cs
- ListBox.cs
- DynamicAttribute.cs
- DrawingContextWalker.cs
- ObjectDataProvider.cs
- HtmlMobileTextWriter.cs
- DbRetry.cs
- InlineCollection.cs
- TextSearch.cs
- DirtyTextRange.cs
- UnSafeCharBuffer.cs
- ButtonAutomationPeer.cs
- DataListItemCollection.cs
- WebExceptionStatus.cs
- SpecialNameAttribute.cs
- CommandManager.cs
- HtmlControlAdapter.cs
- XamlWriter.cs
- RegionInfo.cs
- PassportAuthentication.cs
- WebPartDisplayModeCancelEventArgs.cs
- ListItemDetailViewAttribute.cs
- HtmlSelect.cs
- RestClientProxyHandler.cs
- ThreadStateException.cs
- XmlIlTypeHelper.cs
- ExpressionHelper.cs
- CodeDirectionExpression.cs
- FolderLevelBuildProviderCollection.cs
- SqlCachedBuffer.cs
- ProjectionPruner.cs
- ObjectReaderCompiler.cs
- SoapElementAttribute.cs
- Stacktrace.cs
- HttpListenerRequestUriBuilder.cs
- HtmlTable.cs
- FullTextBreakpoint.cs
- OutputScopeManager.cs
- DynamicILGenerator.cs
- Highlights.cs
- BypassElement.cs
- ServiceInstanceProvider.cs
- SmiTypedGetterSetter.cs
- RuleInfoComparer.cs
- BorderGapMaskConverter.cs
- SymmetricKeyWrap.cs
- DBAsyncResult.cs
- LabelExpression.cs
- Version.cs
- ColorAnimationUsingKeyFrames.cs
- TreeIterator.cs
- MappingException.cs
- PersistenceProviderElement.cs
- StoryFragments.cs
- SpecularMaterial.cs
- EpmContentDeSerializer.cs
- Calendar.cs
- DataKeyCollection.cs
- IPHostEntry.cs
- ClientApiGenerator.cs
- SocketAddress.cs
- ControlCollection.cs
- EventHandlers.cs
- RegionIterator.cs
- VisualBrush.cs
- CurrentTimeZone.cs
- Shape.cs
- HtmlElementCollection.cs
- MulticastOption.cs
- StateMachineSubscriptionManager.cs
- Vector3DCollectionConverter.cs
- ControlDesigner.cs
- StyleConverter.cs
- EmptyStringExpandableObjectConverter.cs
- validation.cs