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
- TextParaClient.cs
- OrderByBuilder.cs
- PersianCalendar.cs
- ToolStripPanelRenderEventArgs.cs
- TypeResolvingOptionsAttribute.cs
- WindowsGraphics2.cs
- Perspective.cs
- MobileTextWriter.cs
- RedistVersionInfo.cs
- DataGridViewIntLinkedList.cs
- ZipPackagePart.cs
- AssemblyFilter.cs
- LinkClickEvent.cs
- WebConfigurationFileMap.cs
- EncodingNLS.cs
- MediaPlayerState.cs
- MessageDroppedTraceRecord.cs
- SessionStateModule.cs
- MarkupProperty.cs
- CurrentTimeZone.cs
- DataGridViewRowsRemovedEventArgs.cs
- TraceSource.cs
- FieldReference.cs
- Attribute.cs
- NativeMethods.cs
- UserControlCodeDomTreeGenerator.cs
- Size3D.cs
- TargetFrameworkUtil.cs
- SystemNetworkInterface.cs
- ValidationResult.cs
- Variable.cs
- CancellationHandlerDesigner.cs
- ConfigurationSectionGroup.cs
- ExcludePathInfo.cs
- PatternMatchRules.cs
- HwndSourceKeyboardInputSite.cs
- XmlUtilWriter.cs
- FreezableDefaultValueFactory.cs
- Semaphore.cs
- FieldBuilder.cs
- TypeBuilder.cs
- ExceptionAggregator.cs
- TypeReference.cs
- DynamicScriptObject.cs
- UIElement3D.cs
- KeyValuePair.cs
- PrintEvent.cs
- HttpServerProtocol.cs
- PositiveTimeSpanValidatorAttribute.cs
- NativeMethodsOther.cs
- ImageButton.cs
- Point.cs
- designeractionlistschangedeventargs.cs
- WriteableBitmap.cs
- ServiceEndpointAssociationProvider.cs
- ImageListDesigner.cs
- OpacityConverter.cs
- CodeDirectionExpression.cs
- XsdBuildProvider.cs
- DynamicMethod.cs
- SecurityManager.cs
- ItemCollection.cs
- handlecollector.cs
- SHA256.cs
- BufferedGraphics.cs
- RegexBoyerMoore.cs
- JsonFormatWriterGenerator.cs
- DragDeltaEventArgs.cs
- XmlWriterTraceListener.cs
- XmlObjectSerializerContext.cs
- BindingEntityInfo.cs
- NavigationHelper.cs
- SQLResource.cs
- StateChangeEvent.cs
- UnmanagedMemoryStreamWrapper.cs
- Peer.cs
- SdlChannelSink.cs
- BindingParameterCollection.cs
- AdRotator.cs
- SizeChangedEventArgs.cs
- RelatedEnd.cs
- HitTestParameters3D.cs
- FieldNameLookup.cs
- SchemaExporter.cs
- ThemeDirectoryCompiler.cs
- Events.cs
- SchemaTypeEmitter.cs
- FontNameEditor.cs
- XhtmlBasicCommandAdapter.cs
- InputBuffer.cs
- WorkflowItemPresenter.cs
- WindowsListViewItem.cs
- DataKey.cs
- EmptyEnumerator.cs
- GridViewCommandEventArgs.cs
- NopReturnReader.cs
- SafeFileMappingHandle.cs
- HtmlTableRowCollection.cs
- JobPageOrder.cs
- WebFormsRootDesigner.cs