Code:
/ FX-1434 / FX-1434 / 1.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
- SafeNativeMethods.cs
- formatstringdialog.cs
- InstanceBehavior.cs
- MultiAsyncResult.cs
- DropDownList.cs
- SqlMethodTransformer.cs
- GlobalItem.cs
- TableRowCollection.cs
- HttpRequestWrapper.cs
- DataGridViewSortCompareEventArgs.cs
- PersianCalendar.cs
- PeerTransportCredentialType.cs
- InputBuffer.cs
- EndpointNameMessageFilter.cs
- WebPartsPersonalizationAuthorization.cs
- DataGridPageChangedEventArgs.cs
- XmlChoiceIdentifierAttribute.cs
- DelimitedListTraceListener.cs
- PathGradientBrush.cs
- GcHandle.cs
- TypeToken.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- SystemIPGlobalProperties.cs
- AssociatedControlConverter.cs
- DataSourceView.cs
- COSERVERINFO.cs
- FrameworkElement.cs
- RoleService.cs
- LinkUtilities.cs
- DataColumn.cs
- ElementHostAutomationPeer.cs
- OleTxTransactionInfo.cs
- ForeignKeyConstraint.cs
- InputProcessorProfiles.cs
- SiteMapHierarchicalDataSourceView.cs
- TypeSystemProvider.cs
- CounterCreationData.cs
- SignatureDescription.cs
- WebPartConnectionsConnectVerb.cs
- TextServicesDisplayAttribute.cs
- Timeline.cs
- ImageCodecInfo.cs
- SafeViewOfFileHandle.cs
- SpeechRecognizer.cs
- SurrogateSelector.cs
- DecimalAnimation.cs
- NetworkAddressChange.cs
- ClipboardData.cs
- ConfigurationSchemaErrors.cs
- SafeFreeMibTable.cs
- ByteStreamGeometryContext.cs
- MILUtilities.cs
- SapiRecognizer.cs
- DirectoryInfo.cs
- GenericXmlSecurityToken.cs
- InvalidPrinterException.cs
- Choices.cs
- PathData.cs
- WindowsGrip.cs
- HtmlElementCollection.cs
- RijndaelManagedTransform.cs
- MonitorWrapper.cs
- LineServicesCallbacks.cs
- COM2ExtendedBrowsingHandler.cs
- KeyConverter.cs
- HandoffBehavior.cs
- TypeDelegator.cs
- UIElement3DAutomationPeer.cs
- FontDriver.cs
- DefaultTextStore.cs
- AssemblyFilter.cs
- TranslateTransform3D.cs
- StorageEntityContainerMapping.cs
- dbenumerator.cs
- AssemblyInfo.cs
- StyleTypedPropertyAttribute.cs
- UrlPath.cs
- InstancePersistence.cs
- DynamicILGenerator.cs
- VersionedStream.cs
- HttpCachePolicy.cs
- Bidi.cs
- PasswordTextContainer.cs
- ParserContext.cs
- LinkedResourceCollection.cs
- DeferredElementTreeState.cs
- TargetPerspective.cs
- EdmEntityTypeAttribute.cs
- Stack.cs
- AccessKeyManager.cs
- PointCollectionValueSerializer.cs
- GlobalAllocSafeHandle.cs
- SelectionPatternIdentifiers.cs
- WsatAdminException.cs
- ComponentFactoryHelpers.cs
- CheckedPointers.cs
- ManipulationDevice.cs
- Method.cs
- SocketPermission.cs
- RoleManagerSection.cs