Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WinForms / System / WinForms / Design / RadioButtonDesigner.cs / 1 / RadioButtonDesigner.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Windows.Forms.Design { using System; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Design; using System.Drawing; using System.Windows.Forms; using System.Diagnostics; ////// /// internal class RadioButtonDesigner: ButtonBaseDesigner { public override void InitializeNewComponent(IDictionary defaultValues) { base.InitializeNewComponent(defaultValues); // In Whidbey, default the TabStop to true. PropertyDescriptor prop = TypeDescriptor.GetProperties(Component)["TabStop"]; if (prop != null && prop.PropertyType == typeof(bool) && !prop.IsReadOnly && prop.IsBrowsable) { prop.SetValue(Component, true); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved./// Provides a designer that can design components /// that extend ButtonBase. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ValidatingPropertiesEventArgs.cs
- SiteMapPath.cs
- TextEditorCharacters.cs
- ToolStripPanel.cs
- TablePatternIdentifiers.cs
- IgnorePropertiesAttribute.cs
- XPathMultyIterator.cs
- WorkflowWebService.cs
- DbCommandTree.cs
- OleDbInfoMessageEvent.cs
- AsyncParams.cs
- Object.cs
- TextSelectionProcessor.cs
- WebPartActionVerb.cs
- RectangleF.cs
- IPAddress.cs
- XmlAttribute.cs
- MediaPlayer.cs
- TabItemWrapperAutomationPeer.cs
- MenuItemStyleCollection.cs
- IOException.cs
- NativeRecognizer.cs
- GeneralTransform3DCollection.cs
- Adorner.cs
- TokenBasedSetEnumerator.cs
- NamespaceList.cs
- DSASignatureDeformatter.cs
- RadioButtonList.cs
- AsyncResult.cs
- TargetControlTypeCache.cs
- DBSchemaRow.cs
- FlowDocumentReaderAutomationPeer.cs
- CoTaskMemHandle.cs
- CommentGlyph.cs
- SectionInput.cs
- MutexSecurity.cs
- BitmapEffectInputConnector.cs
- IsolatedStorageSecurityState.cs
- ExceptionHelpers.cs
- CorruptingExceptionCommon.cs
- X509Certificate2Collection.cs
- TrackingParameters.cs
- TransformDescriptor.cs
- IndexerReference.cs
- StreamGeometry.cs
- DependencyPropertyKey.cs
- EventRouteFactory.cs
- ForeignKeyConstraint.cs
- DataServiceCollectionOfT.cs
- HtmlInputSubmit.cs
- SymDocumentType.cs
- Rect3DValueSerializer.cs
- ImpersonateTokenRef.cs
- DataGridViewRowStateChangedEventArgs.cs
- SynchronousReceiveBehavior.cs
- ObjectSecurityT.cs
- CornerRadius.cs
- UriTemplate.cs
- GridViewAutomationPeer.cs
- SiteMembershipCondition.cs
- ProxyHelper.cs
- RSAPKCS1KeyExchangeFormatter.cs
- DeploymentExceptionMapper.cs
- SystemResourceKey.cs
- Parameter.cs
- PartialCachingAttribute.cs
- AppDomainShutdownMonitor.cs
- FixedSOMPageConstructor.cs
- EncodingFallbackAwareXmlTextWriter.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- Int16.cs
- ButtonChrome.cs
- BinaryWriter.cs
- HealthMonitoringSectionHelper.cs
- DataGridCommandEventArgs.cs
- ExpressionPrefixAttribute.cs
- ParallelLoopState.cs
- FactoryGenerator.cs
- QilName.cs
- SocketInformation.cs
- COAUTHIDENTITY.cs
- TextEncodedRawTextWriter.cs
- Point.cs
- AsyncStreamReader.cs
- DetailsViewInsertEventArgs.cs
- OdbcConnectionHandle.cs
- X509CertificateChain.cs
- GuidConverter.cs
- SignatureConfirmationElement.cs
- ConstructorArgumentAttribute.cs
- IgnoreSectionHandler.cs
- MatrixAnimationBase.cs
- MenuItemStyle.cs
- ConditionalAttribute.cs
- MenuDesigner.cs
- XsdValidatingReader.cs
- GrammarBuilderPhrase.cs
- ModifiableIteratorCollection.cs
- RunInstallerAttribute.cs
- Rect3DConverter.cs