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
- Table.cs
- AttributeQuery.cs
- CommentEmitter.cs
- StorageModelBuildProvider.cs
- MouseGestureConverter.cs
- MouseButton.cs
- TypeElement.cs
- BuildResult.cs
- XmlArrayItemAttributes.cs
- AddInContractAttribute.cs
- ChannelSinkStacks.cs
- LogicalExpr.cs
- ContextMenuService.cs
- PackWebResponse.cs
- Oid.cs
- XamlReaderHelper.cs
- MediaTimeline.cs
- DirectoryObjectSecurity.cs
- DEREncoding.cs
- CollectionChangedEventManager.cs
- LineSegment.cs
- WebPartConnectionsCancelEventArgs.cs
- SettingsAttributeDictionary.cs
- StateBag.cs
- DetailsViewUpdatedEventArgs.cs
- CodeMethodInvokeExpression.cs
- ProcessThreadCollection.cs
- GeneratedContractType.cs
- BuildProviderAppliesToAttribute.cs
- Grant.cs
- PingOptions.cs
- UrlPropertyAttribute.cs
- ListItemParagraph.cs
- Missing.cs
- EntityCollection.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- ReadOnlyObservableCollection.cs
- TextHintingModeValidation.cs
- MessageLoggingFilterTraceRecord.cs
- IIS7WorkerRequest.cs
- LinkLabelLinkClickedEvent.cs
- NavigationCommands.cs
- ModuleConfigurationInfo.cs
- PathData.cs
- RequestCacheValidator.cs
- AuthorizationRule.cs
- FilteredReadOnlyMetadataCollection.cs
- SoapMessage.cs
- XmlnsDefinitionAttribute.cs
- DayRenderEvent.cs
- XmlSchemaProviderAttribute.cs
- MetadataPropertyCollection.cs
- WebPartActionVerb.cs
- OutputCacheProfile.cs
- SqlFileStream.cs
- ConnectionPoint.cs
- InputChannelAcceptor.cs
- DbProviderFactory.cs
- SiteMap.cs
- InstalledFontCollection.cs
- DSASignatureDeformatter.cs
- BitmapEffectInput.cs
- InternalControlCollection.cs
- EnumValAlphaComparer.cs
- TextEndOfLine.cs
- XmlAnyElementAttribute.cs
- XmlSchemaValidationException.cs
- TrustManagerMoreInformation.cs
- CompressionTransform.cs
- PropertyGridEditorPart.cs
- MenuBase.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- MasterPageCodeDomTreeGenerator.cs
- HttpGetServerProtocol.cs
- Opcode.cs
- RemotingSurrogateSelector.cs
- DriveNotFoundException.cs
- ClientFormsIdentity.cs
- XD.cs
- xamlnodes.cs
- TextWriter.cs
- DataGridHeaderBorder.cs
- SettingsPropertyValue.cs
- AttributeCollection.cs
- FileDetails.cs
- NullableBoolConverter.cs
- FormViewCommandEventArgs.cs
- EntityViewGenerator.cs
- ADRoleFactoryConfiguration.cs
- ObjectReferenceStack.cs
- NullableFloatAverageAggregationOperator.cs
- DataConnectionHelper.cs
- CommonRemoteMemoryBlock.cs
- ProxyWebPart.cs
- XAMLParseException.cs
- FullTrustAssemblyCollection.cs
- PasswordDeriveBytes.cs
- Directory.cs
- ScrollViewer.cs
- SchemaImporterExtensionsSection.cs