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
- SQLDateTime.cs
- loginstatus.cs
- ViewValidator.cs
- BindingContext.cs
- ConfigXmlReader.cs
- TextCompositionEventArgs.cs
- MappingModelBuildProvider.cs
- ProgressPage.cs
- AsyncOperationManager.cs
- CodeIndexerExpression.cs
- AssemblyHash.cs
- regiisutil.cs
- ClosableStream.cs
- ComNativeDescriptor.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- ClockController.cs
- MonthCalendar.cs
- TypeLibraryHelper.cs
- NTAccount.cs
- XmlSchemaGroup.cs
- XPathNavigatorKeyComparer.cs
- ConfigurationValidatorAttribute.cs
- MouseWheelEventArgs.cs
- SqlTrackingQuery.cs
- SystemTcpStatistics.cs
- BrowserCapabilitiesFactory.cs
- ActivityXRefPropertyEditor.cs
- HtmlTitle.cs
- PeerApplicationLaunchInfo.cs
- PolicyUnit.cs
- DrawTreeNodeEventArgs.cs
- ByteFacetDescriptionElement.cs
- InvalidPipelineStoreException.cs
- DataGridColumnHeadersPresenter.cs
- BindingExpressionUncommonField.cs
- GridViewRowPresenter.cs
- remotingproxy.cs
- AssemblyUtil.cs
- ProjectionQueryOptionExpression.cs
- IdentityNotMappedException.cs
- VariableQuery.cs
- DataGridBoolColumn.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- TraceProvider.cs
- EventWaitHandle.cs
- TextTreeRootNode.cs
- AsyncResult.cs
- PlatformCulture.cs
- TrueReadOnlyCollection.cs
- Coordinator.cs
- ConfigXmlElement.cs
- PasswordRecovery.cs
- IndentedWriter.cs
- Timer.cs
- ToolboxItemAttribute.cs
- NativeMethodsCLR.cs
- DotAtomReader.cs
- FileRegion.cs
- XmlSchemaObjectCollection.cs
- Reference.cs
- DbParameterCollection.cs
- CompoundFileIOPermission.cs
- MessageContractAttribute.cs
- DES.cs
- AddingNewEventArgs.cs
- StorageComplexTypeMapping.cs
- UnaryQueryOperator.cs
- BlockUIContainer.cs
- SqlDeflator.cs
- XmlSchemaExternal.cs
- UpdateCommandGenerator.cs
- CellCreator.cs
- LocatorBase.cs
- BitFlagsGenerator.cs
- SortDescription.cs
- ConnectionOrientedTransportChannelFactory.cs
- DnsPermission.cs
- ISAPIWorkerRequest.cs
- StylusPointPropertyInfo.cs
- AnimationTimeline.cs
- FloatAverageAggregationOperator.cs
- CaseInsensitiveHashCodeProvider.cs
- HttpCapabilitiesSectionHandler.cs
- XmlNodeList.cs
- COM2AboutBoxPropertyDescriptor.cs
- Application.cs
- EntityClientCacheKey.cs
- PackUriHelper.cs
- ContainerSelectorGlyph.cs
- SmtpNetworkElement.cs
- CommandConverter.cs
- NetworkCredential.cs
- InfocardChannelParameter.cs
- SID.cs
- ElementProxy.cs
- XmlSerializerAssemblyAttribute.cs
- SmiMetaDataProperty.cs
- DecodeHelper.cs
- IncrementalReadDecoders.cs
- SimpleTypeResolver.cs