Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DockingAttribute.cs / 1305376 / DockingAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { ////// /// [AttributeUsage(AttributeTargets.Class)] public sealed class DockingAttribute : Attribute { private DockingBehavior dockingBehavior; ////// Specifies how a control should be docked by default when added through the designer. /// ////// /// public DockingAttribute() { this.dockingBehavior = DockingBehavior.Never; } ////// Default constructor. /// ////// /// public DockingAttribute(DockingBehavior dockingBehavior) { this.dockingBehavior = dockingBehavior; } ////// Constructor. /// ////// /// public static readonly DockingAttribute Default = new DockingAttribute(); ////// Specifies the default value for the ///. /// This field is read-only. /// /// /// public DockingBehavior DockingBehavior { get { return dockingBehavior; } } ////// DockingBehavior property. /// ////// /// /// public override bool Equals(object obj) { if (obj == this) { return true; } DockingAttribute other = obj as DockingAttribute; return (other != null) && other.DockingBehavior == this.dockingBehavior; } ////// /// public override int GetHashCode() { return dockingBehavior.GetHashCode(); } ///[To be supplied.] ////// /// /// public override bool IsDefaultAttribute() { return (this.Equals(Default)); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ProcessHostServerConfig.cs
- ReadOnlyCollection.cs
- BitmapVisualManager.cs
- SqlInternalConnection.cs
- RangeBase.cs
- WebPartConnectVerb.cs
- PrintDialog.cs
- Literal.cs
- DropDownButton.cs
- StringWriter.cs
- RawUIStateInputReport.cs
- TextPattern.cs
- PolicyStatement.cs
- VerbConverter.cs
- CustomAttributeFormatException.cs
- TokenizerHelper.cs
- ClientConfigPaths.cs
- PreparingEnlistment.cs
- ToolStripComboBox.cs
- DeviceSpecificDialogCachedState.cs
- UserUseLicenseDictionaryLoader.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- EntityWithChangeTrackerStrategy.cs
- NameValueConfigurationElement.cs
- SiteMapNode.cs
- DisplayNameAttribute.cs
- DocumentXPathNavigator.cs
- SettingsPropertyValueCollection.cs
- HandoffBehavior.cs
- TypeUsage.cs
- ClientSettings.cs
- FixedSOMPage.cs
- ProfileBuildProvider.cs
- UrlPropertyAttribute.cs
- StringExpressionSet.cs
- BlockUIContainer.cs
- XhtmlTextWriter.cs
- Substitution.cs
- OperatingSystemVersionCheck.cs
- TextCharacters.cs
- ExpressionBuilder.cs
- SigningCredentials.cs
- BooleanAnimationUsingKeyFrames.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- DelegateHelpers.Generated.cs
- EpmContentDeSerializer.cs
- DataGridViewComboBoxCell.cs
- DataServiceRequestOfT.cs
- HotSpotCollection.cs
- OptimalTextSource.cs
- PreservationFileWriter.cs
- InvalidDocumentContentsException.cs
- PathFigureCollection.cs
- XmlSchemaParticle.cs
- ComplexLine.cs
- TextParentUndoUnit.cs
- CharacterHit.cs
- InvalidEnumArgumentException.cs
- SoapCodeExporter.cs
- LockedBorderGlyph.cs
- PriorityRange.cs
- StylusEventArgs.cs
- SiteMapHierarchicalDataSourceView.cs
- HttpWrapper.cs
- ScalarConstant.cs
- ListControl.cs
- SchemaImporter.cs
- CurrencyManager.cs
- ITextView.cs
- CommandDevice.cs
- ReadWriteObjectLock.cs
- RowParagraph.cs
- CodeLabeledStatement.cs
- SettingsContext.cs
- ProjectionCamera.cs
- PeerNameRecordCollection.cs
- PersistChildrenAttribute.cs
- UpdateExpressionVisitor.cs
- Geometry3D.cs
- AutoGeneratedField.cs
- PersonalizationStateInfo.cs
- SecurityRuntime.cs
- latinshape.cs
- IsolatedStorageFile.cs
- SqlDataSourceDesigner.cs
- StructuredProperty.cs
- ReliableSessionBindingElementImporter.cs
- InfoCardSymmetricAlgorithm.cs
- ErrorStyle.cs
- ClientRolePrincipal.cs
- ChannelRequirements.cs
- SamlAssertion.cs
- HwndAppCommandInputProvider.cs
- Currency.cs
- StringUtil.cs
- Menu.cs
- TypeKeyValue.cs
- Table.cs
- OneWayBindingElement.cs
- ModuleConfigurationInfo.cs