Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.Implements HotSpot for rectangle regions. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ValueProviderWrapper.cs
- SessionStateUtil.cs
- OutputScope.cs
- XmlSchemaAppInfo.cs
- HttpPostedFile.cs
- Int16KeyFrameCollection.cs
- XmlSchemaImporter.cs
- TrackingExtract.cs
- DoubleLinkList.cs
- SqlBuilder.cs
- EncodingTable.cs
- CompleteWizardStep.cs
- EventWaitHandleSecurity.cs
- Bold.cs
- Exceptions.cs
- EventHandlersDesigner.cs
- DesignerTransaction.cs
- ProtocolsSection.cs
- oledbconnectionstring.cs
- CatchDesigner.xaml.cs
- ScrollData.cs
- WebPartEditorOkVerb.cs
- securitycriticaldata.cs
- EntityDataSourceValidationException.cs
- FigureHelper.cs
- ParenthesizePropertyNameAttribute.cs
- TextEditorContextMenu.cs
- FlowchartDesigner.xaml.cs
- TextRangeEdit.cs
- FontStyleConverter.cs
- LightweightEntityWrapper.cs
- shaperfactoryquerycacheentry.cs
- Stack.cs
- IDReferencePropertyAttribute.cs
- SQLDoubleStorage.cs
- OdbcEnvironmentHandle.cs
- TabRenderer.cs
- GeneralTransform3DTo2D.cs
- InputBindingCollection.cs
- MemoryStream.cs
- ConfigXmlWhitespace.cs
- TreeViewDataItemAutomationPeer.cs
- FormatStringEditor.cs
- ParameterCollection.cs
- MouseGestureConverter.cs
- VisualBrush.cs
- RenderDataDrawingContext.cs
- ContextMenuStrip.cs
- ForwardPositionQuery.cs
- EntityTypeEmitter.cs
- VisualBrush.cs
- EditorPartCollection.cs
- XmlIlTypeHelper.cs
- DefaultSection.cs
- SystemNetworkInterface.cs
- AccessText.cs
- BrowsableAttribute.cs
- InputElement.cs
- TemplateBamlRecordReader.cs
- ClipboardProcessor.cs
- XsltException.cs
- CollaborationHelperFunctions.cs
- Typography.cs
- TextPointer.cs
- XmlUrlEditor.cs
- ContextQuery.cs
- MetadataPropertyvalue.cs
- CodeTypeReference.cs
- DesignerValidatorAdapter.cs
- DataAccessor.cs
- SelectorAutomationPeer.cs
- SqlNode.cs
- IgnoreSectionHandler.cs
- RowUpdatedEventArgs.cs
- DynamicValidator.cs
- LineGeometry.cs
- IItemContainerGenerator.cs
- ImportOptions.cs
- SourceFileInfo.cs
- ConnectionProviderAttribute.cs
- DataGrid.cs
- CommonProperties.cs
- DBConnection.cs
- BrowserCapabilitiesCodeGenerator.cs
- MasterPageParser.cs
- SchemaTypeEmitter.cs
- BindingList.cs
- ButtonRenderer.cs
- PropertyItem.cs
- SelectionProviderWrapper.cs
- XpsThumbnail.cs
- BitmapEffectrendercontext.cs
- RawStylusSystemGestureInputReport.cs
- MarkupExtensionSerializer.cs
- ProfileGroupSettingsCollection.cs
- CategoryGridEntry.cs
- objectquery_tresulttype.cs
- AsnEncodedData.cs
- TextServicesProperty.cs
- HtmlControlPersistable.cs