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
- BindingCollectionElement.cs
- MouseActionValueSerializer.cs
- CodeDomConfigurationHandler.cs
- TextBoxView.cs
- DataStreams.cs
- MessageQueueCriteria.cs
- HtmlInputButton.cs
- AttachedPropertyMethodSelector.cs
- TemplatePartAttribute.cs
- TransformerConfigurationWizardBase.cs
- SecUtil.cs
- QueryCacheManager.cs
- DataGridView.cs
- xdrvalidator.cs
- TaskCanceledException.cs
- _NestedMultipleAsyncResult.cs
- ScrollChrome.cs
- Input.cs
- ContentPresenter.cs
- FolderBrowserDialog.cs
- COAUTHINFO.cs
- smtpconnection.cs
- DbProviderServices.cs
- ViewStateException.cs
- NullableDecimalSumAggregationOperator.cs
- TextDecorations.cs
- MetadataItemSerializer.cs
- SettingsAttributes.cs
- Table.cs
- FormsIdentity.cs
- XPathDocumentIterator.cs
- DateTimeOffsetStorage.cs
- LayoutInformation.cs
- RegistrationServices.cs
- PrintingPermissionAttribute.cs
- Events.cs
- ToolStripSeparator.cs
- SqlDataRecord.cs
- HttpResponseWrapper.cs
- XmlNamedNodeMap.cs
- AutomationPatternInfo.cs
- TextModifierScope.cs
- Signature.cs
- OleDbConnectionFactory.cs
- ResXResourceSet.cs
- AssemblyCollection.cs
- Dispatcher.cs
- IPEndPointCollection.cs
- DatatypeImplementation.cs
- TraceListeners.cs
- EnvironmentPermission.cs
- TypeUnloadedException.cs
- Switch.cs
- DataGridViewCellStyleChangedEventArgs.cs
- SchemaType.cs
- XmlDictionaryString.cs
- MsmqAuthenticationMode.cs
- DataServiceExpressionVisitor.cs
- UIElementHelper.cs
- DataGridViewImageCell.cs
- wgx_sdk_version.cs
- ObjectTag.cs
- Stacktrace.cs
- TypeDependencyAttribute.cs
- DisplayNameAttribute.cs
- TreePrinter.cs
- MouseActionValueSerializer.cs
- WebPartZoneCollection.cs
- DetectRunnableInstancesTask.cs
- SmtpTransport.cs
- CodeDirectoryCompiler.cs
- X500Name.cs
- TemplateEditingService.cs
- FileInfo.cs
- DataPointer.cs
- HttpValueCollection.cs
- FilteredReadOnlyMetadataCollection.cs
- EdmValidator.cs
- SafeIUnknown.cs
- TraceContextEventArgs.cs
- TypedServiceChannelBuilder.cs
- DataColumn.cs
- HebrewNumber.cs
- MaskDesignerDialog.cs
- Style.cs
- MenuAutomationPeer.cs
- HeaderElement.cs
- IpcClientChannel.cs
- DataGridViewRowPostPaintEventArgs.cs
- TextDocumentView.cs
- NumericPagerField.cs
- GridView.cs
- OleTxTransaction.cs
- TableCell.cs
- PointAnimation.cs
- Size3DConverter.cs
- CompareValidator.cs
- TypeDelegator.cs
- Canonicalizers.cs
- SecurityException.cs