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
- NavigationWindowAutomationPeer.cs
- NativeMethodsOther.cs
- ContentDisposition.cs
- HandlerFactoryCache.cs
- EventLog.cs
- SecurityTokenParameters.cs
- WindowsStatusBar.cs
- TdsParserSafeHandles.cs
- WebHttpBinding.cs
- Int64.cs
- LoginName.cs
- cache.cs
- XamlSerializerUtil.cs
- SqlWebEventProvider.cs
- MsmqIntegrationProcessProtocolHandler.cs
- XamlInt32CollectionSerializer.cs
- ActivitySurrogate.cs
- ResourceDescriptionAttribute.cs
- DBDataPermissionAttribute.cs
- FilterElement.cs
- GridErrorDlg.cs
- Rule.cs
- MsmqProcessProtocolHandler.cs
- AssociationSet.cs
- DecoderFallbackWithFailureFlag.cs
- TreeViewTemplateSelector.cs
- DocumentXmlWriter.cs
- PointAnimation.cs
- DeflateEmulationStream.cs
- EntityDataSourceWizardForm.cs
- Stacktrace.cs
- TdsParameterSetter.cs
- _ProxyRegBlob.cs
- SerializationFieldInfo.cs
- ObjectDataSourceSelectingEventArgs.cs
- ActiveDesignSurfaceEvent.cs
- ProfileParameter.cs
- SimpleLine.cs
- Line.cs
- ShaderRenderModeValidation.cs
- Vector.cs
- VideoDrawing.cs
- ObjectDataSourceStatusEventArgs.cs
- OutOfMemoryException.cs
- SendingRequestEventArgs.cs
- XmlSchemaInfo.cs
- xmlformatgeneratorstatics.cs
- XamlNamespaceHelper.cs
- EnumerableRowCollectionExtensions.cs
- ListCommandEventArgs.cs
- SqlCacheDependencyDatabase.cs
- querybuilder.cs
- BasicDesignerLoader.cs
- BamlResourceContent.cs
- InvalidOperationException.cs
- infer.cs
- CheckBoxField.cs
- SHA384CryptoServiceProvider.cs
- XmlSchemaSimpleTypeUnion.cs
- EventSchemaTraceListener.cs
- ExecutorLocksHeldException.cs
- ArgumentException.cs
- WsdlInspector.cs
- ParseNumbers.cs
- ButtonBase.cs
- PersonalizablePropertyEntry.cs
- RegexTree.cs
- InputScopeConverter.cs
- SqlError.cs
- SqlDataSourceView.cs
- CheckBox.cs
- XmlArrayItemAttribute.cs
- DBCommand.cs
- DefaultMemberAttribute.cs
- VisualProxy.cs
- ConstructorArgumentAttribute.cs
- RegexCompiler.cs
- FlowDocumentFormatter.cs
- HtmlElementCollection.cs
- TypeDependencyAttribute.cs
- FuncCompletionCallbackWrapper.cs
- SerializationInfo.cs
- PathGeometry.cs
- ContainerCodeDomSerializer.cs
- MessageSecurityProtocol.cs
- PowerModeChangedEventArgs.cs
- SafeCoTaskMem.cs
- ColorAnimationUsingKeyFrames.cs
- SafeProcessHandle.cs
- _Win32.cs
- RegexStringValidatorAttribute.cs
- TextDecoration.cs
- XmlUtf8RawTextWriter.cs
- WeakHashtable.cs
- EntityProviderFactory.cs
- assemblycache.cs
- HttpListener.cs
- CompilerGeneratedAttribute.cs
- TransportSecurityHelpers.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs