Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / RectangleHotSpot.cs / 1305376 / 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; ////// 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.Implements HotSpot for rectangle regions. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SessionStateItemCollection.cs
- BindingContext.cs
- Operators.cs
- CorrelationManager.cs
- TableLayoutColumnStyleCollection.cs
- StateChangeEvent.cs
- HostUtils.cs
- AmbientProperties.cs
- ParameterCollection.cs
- Condition.cs
- TextElementCollectionHelper.cs
- CodeGenerator.cs
- ProxyWebPart.cs
- XmlDocument.cs
- TypeUsageBuilder.cs
- NopReturnReader.cs
- LogicalExpr.cs
- InputBindingCollection.cs
- ContentFileHelper.cs
- WinEventWrap.cs
- CannotUnloadAppDomainException.cs
- WinEventHandler.cs
- CodeBinaryOperatorExpression.cs
- RegexReplacement.cs
- ServerValidateEventArgs.cs
- ExpandCollapseProviderWrapper.cs
- TemplatedMailWebEventProvider.cs
- RuleInfoComparer.cs
- ProvidersHelper.cs
- XmlSubtreeReader.cs
- ZoneLinkButton.cs
- StringInfo.cs
- ZipIORawDataFileBlock.cs
- HtmlTextBoxAdapter.cs
- Rectangle.cs
- LexicalChunk.cs
- ExtensionWindow.cs
- Dump.cs
- COM2Enum.cs
- OleDbParameterCollection.cs
- TextProperties.cs
- SqlProvider.cs
- ContourSegment.cs
- WebServiceReceive.cs
- FreezableCollection.cs
- IPEndPointCollection.cs
- UnSafeCharBuffer.cs
- ButtonPopupAdapter.cs
- XmlSchemaComplexContentExtension.cs
- bindurihelper.cs
- PersonalizableAttribute.cs
- Region.cs
- Parallel.cs
- NegatedConstant.cs
- Int32RectConverter.cs
- OwnerDrawPropertyBag.cs
- Function.cs
- PointKeyFrameCollection.cs
- WebContentFormatHelper.cs
- SafeNativeMethods.cs
- PropertyTab.cs
- BitVec.cs
- CopyAction.cs
- namescope.cs
- TextDecorationCollection.cs
- HttpInputStream.cs
- MeshGeometry3D.cs
- ColorMap.cs
- VisualStyleInformation.cs
- PrimaryKeyTypeConverter.cs
- QueryTask.cs
- X509IssuerSerialKeyIdentifierClause.cs
- DelayDesigner.cs
- RNGCryptoServiceProvider.cs
- MaxValueConverter.cs
- bindurihelper.cs
- OdbcUtils.cs
- LineUtil.cs
- RegexParser.cs
- PartitionResolver.cs
- ComponentChangedEvent.cs
- SecurityResources.cs
- ReverseInheritProperty.cs
- XmlSchemaSimpleTypeUnion.cs
- CodeIdentifiers.cs
- LogicalExpr.cs
- GroupQuery.cs
- LinearGradientBrush.cs
- OdbcReferenceCollection.cs
- SourceFileInfo.cs
- GeometryDrawing.cs
- FixedBufferAttribute.cs
- NavigateEvent.cs
- WebPartManagerInternals.cs
- DomNameTable.cs
- Select.cs
- ButtonBase.cs
- Model3DGroup.cs
- InternalRelationshipCollection.cs
- WhitespaceRuleLookup.cs