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
- DataBinding.cs
- BindingList.cs
- mil_sdk_version.cs
- WebResourceAttribute.cs
- MexHttpBindingElement.cs
- PersonalizationAdministration.cs
- EndPoint.cs
- ConditionalWeakTable.cs
- DataContext.cs
- DeploymentSectionCache.cs
- MenuItem.cs
- HitTestFilterBehavior.cs
- XmlLoader.cs
- HyperLinkColumn.cs
- LinkClickEvent.cs
- EntityDataSourceWizardForm.cs
- DrawingGroup.cs
- AsyncDataRequest.cs
- Substitution.cs
- SelectingProviderEventArgs.cs
- SQLInt64.cs
- HandledMouseEvent.cs
- WindowPatternIdentifiers.cs
- ConfigPathUtility.cs
- WebPartTransformer.cs
- BitmapSource.cs
- XMLSchema.cs
- TextStore.cs
- XmlReader.cs
- QueryAccessibilityHelpEvent.cs
- HMACRIPEMD160.cs
- DecoderBestFitFallback.cs
- WebPartExportVerb.cs
- SmiMetaData.cs
- DrawListViewItemEventArgs.cs
- SByteStorage.cs
- TypeElement.cs
- ExtensionWindow.cs
- TypeUtil.cs
- User.cs
- ToolStripContainerActionList.cs
- HierarchicalDataBoundControl.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- DataMemberAttribute.cs
- ZipArchive.cs
- GeometryDrawing.cs
- SystemIcmpV6Statistics.cs
- DesignerAttributeInfo.cs
- ComboBoxDesigner.cs
- SmiContextFactory.cs
- XmlSchemaInferenceException.cs
- Helpers.cs
- ReadOnlyHierarchicalDataSource.cs
- JoinElimination.cs
- RowUpdatingEventArgs.cs
- __TransparentProxy.cs
- HttpBrowserCapabilitiesWrapper.cs
- GridViewColumnHeaderAutomationPeer.cs
- ToolbarAUtomationPeer.cs
- ParentUndoUnit.cs
- KeyMatchBuilder.cs
- AssemblyAttributes.cs
- httpapplicationstate.cs
- InfoCardAsymmetricCrypto.cs
- IdentityValidationException.cs
- AstTree.cs
- DataGridSortCommandEventArgs.cs
- HtmlInputImage.cs
- DictionaryTraceRecord.cs
- OrderedDictionary.cs
- EventListenerClientSide.cs
- ConfigurationLocation.cs
- ListViewDeletedEventArgs.cs
- FixUp.cs
- BaseCollection.cs
- RegexCode.cs
- FormViewDeletedEventArgs.cs
- CompositionAdorner.cs
- ProfileSettings.cs
- QilPatternVisitor.cs
- ChangePassword.cs
- XamlInterfaces.cs
- SqlTrackingQuery.cs
- CacheManager.cs
- ServicePoint.cs
- MouseActionConverter.cs
- WindowsListView.cs
- PrivilegeNotHeldException.cs
- AttributeExtensions.cs
- SqlConnectionHelper.cs
- Preprocessor.cs
- TraceContextEventArgs.cs
- dsa.cs
- Parser.cs
- SourceItem.cs
- Version.cs
- _CacheStreams.cs
- SafeNativeMethodsOther.cs
- RadioButtonPopupAdapter.cs
- XmlArrayItemAttributes.cs