Code:
/ FX-1434 / FX-1434 / 1.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
- InkPresenter.cs
- FormViewPagerRow.cs
- SecurityContext.cs
- AsyncOperation.cs
- EnvelopedPkcs7.cs
- WebPartDisplayModeCancelEventArgs.cs
- UmAlQuraCalendar.cs
- XmlHelper.cs
- PolicyDesigner.cs
- ObjectParameter.cs
- FormViewRow.cs
- ConnectionPoolManager.cs
- Win32KeyboardDevice.cs
- AlgoModule.cs
- MediaPlayerState.cs
- TailCallAnalyzer.cs
- LocalFileSettingsProvider.cs
- ToolboxComponentsCreatingEventArgs.cs
- EtwProvider.cs
- CompositeDuplexElement.cs
- BigInt.cs
- PropertyToken.cs
- TagPrefixAttribute.cs
- DataBinding.cs
- EventDrivenDesigner.cs
- HostSecurityManager.cs
- TemplateField.cs
- SafeRightsManagementSessionHandle.cs
- BamlResourceDeserializer.cs
- MetabaseServerConfig.cs
- CustomLineCap.cs
- IISMapPath.cs
- ParagraphVisual.cs
- XMLSyntaxException.cs
- ProcessHost.cs
- BamlTreeMap.cs
- CodeBinaryOperatorExpression.cs
- ZipIOFileItemStream.cs
- PenLineJoinValidation.cs
- FilteredXmlReader.cs
- ClientRuntimeConfig.cs
- HtmlGenericControl.cs
- odbcmetadatacollectionnames.cs
- SchemaCollectionPreprocessor.cs
- FilterQuery.cs
- SqlInternalConnection.cs
- Html32TextWriter.cs
- PersistenceParticipant.cs
- RegexCode.cs
- HttpHandlerActionCollection.cs
- PolyLineSegment.cs
- OraclePermission.cs
- StateDesigner.cs
- SafeNativeMethods.cs
- DrawingGroup.cs
- XPathScanner.cs
- FormViewInsertEventArgs.cs
- FormsAuthenticationCredentials.cs
- EditBehavior.cs
- ObjectQueryProvider.cs
- OutgoingWebResponseContext.cs
- CurrentTimeZone.cs
- AnchoredBlock.cs
- UIElementParaClient.cs
- SafeArrayTypeMismatchException.cs
- WindowsGraphics2.cs
- DataReaderContainer.cs
- DataBoundControlAdapter.cs
- ExpressionTextBoxAutomationPeer.cs
- HuffmanTree.cs
- OdbcEnvironment.cs
- EnumValAlphaComparer.cs
- StrokeCollectionConverter.cs
- AnnotationStore.cs
- Int32Storage.cs
- HtmlInputButton.cs
- Group.cs
- NetworkStream.cs
- DropSourceBehavior.cs
- SqlEnums.cs
- RuntimeConfig.cs
- ControlPropertyNameConverter.cs
- XmlUTF8TextWriter.cs
- WebPartMinimizeVerb.cs
- SqlDataRecord.cs
- Pen.cs
- DirectoryObjectSecurity.cs
- XmlImplementation.cs
- TextEditorSpelling.cs
- ViewLoader.cs
- XamlDebuggerXmlReader.cs
- SettingsProperty.cs
- ButtonFieldBase.cs
- DataSourceView.cs
- TextEditorContextMenu.cs
- FontSizeConverter.cs
- InternalConfigSettingsFactory.cs
- SystemUnicastIPAddressInformation.cs
- TokenFactoryCredential.cs
- ReliableSessionElement.cs