Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Automation / Peers / GroupBoxAutomationPeer.cs / 1 / GroupBoxAutomationPeer.cs
using System; using System.Runtime.InteropServices; using System.Security; using System.Text; using System.Windows; using System.Windows.Automation.Provider; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Interop; using System.Windows.Media; using MS.Internal; using MS.Win32; namespace System.Windows.Automation.Peers { /// public class GroupBoxAutomationPeer : FrameworkElementAutomationPeer { /// public GroupBoxAutomationPeer(GroupBox owner): base(owner) {} /// override protected string GetClassNameCore() { return "GroupBox"; } /// override protected AutomationControlType GetAutomationControlTypeCore() { return AutomationControlType.Group; } // Return the base without the AccessKey character /// override protected string GetNameCore() { string result = base.GetNameCore(); if (!string.IsNullOrEmpty(result)) { GroupBox groupBox = (GroupBox)Owner; if (groupBox.Header is string) { return AccessText.RemoveAccessKeyMarker(result); } } return result; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SvcFileManager.cs
- CodeConditionStatement.cs
- TextTreeRootTextBlock.cs
- InteropTrackingRecord.cs
- HttpCacheVary.cs
- UIElement3DAutomationPeer.cs
- DiscoveryOperationContext.cs
- TypeSystem.cs
- xml.cs
- StrokeNodeOperations2.cs
- RedirectionProxy.cs
- UnsafeNativeMethods.cs
- AsymmetricKeyExchangeDeformatter.cs
- EncryptedXml.cs
- WindowsFormsSynchronizationContext.cs
- OptimizedTemplateContentHelper.cs
- GenericEnumerator.cs
- RuntimeHandles.cs
- DeviceFilterEditorDialog.cs
- MetadataArtifactLoaderCompositeResource.cs
- AuthenticationConfig.cs
- CreateWorkflowOwnerCommand.cs
- XamlPoint3DCollectionSerializer.cs
- StrongNameUtility.cs
- FrameworkElementFactoryMarkupObject.cs
- Binding.cs
- TableLayoutPanel.cs
- TextChangedEventArgs.cs
- WhitespaceRuleReader.cs
- DataBindingExpressionBuilder.cs
- WebBrowserUriTypeConverter.cs
- PreservationFileReader.cs
- Int32CollectionConverter.cs
- HttpServerVarsCollection.cs
- X509CertificateStore.cs
- ThousandthOfEmRealPoints.cs
- SpinLock.cs
- AdapterDictionary.cs
- SchemaDeclBase.cs
- ProcessProtocolHandler.cs
- ClientOptions.cs
- TableLayoutPanel.cs
- AuthenticationModulesSection.cs
- DataGridItemEventArgs.cs
- RegistrationServices.cs
- UnmanagedMarshal.cs
- RequestTimeoutManager.cs
- CqlLexer.cs
- ModelUIElement3D.cs
- AsyncStreamReader.cs
- Latin1Encoding.cs
- XslCompiledTransform.cs
- RowParagraph.cs
- ManagementNamedValueCollection.cs
- QueryCacheManager.cs
- CatalogPart.cs
- ClientCredentials.cs
- CompilerGeneratedAttribute.cs
- Floater.cs
- ToolboxDataAttribute.cs
- RootBrowserWindowAutomationPeer.cs
- Permission.cs
- DynamicILGenerator.cs
- InvokeSchedule.cs
- MultiTouchSystemGestureLogic.cs
- ResourceWriter.cs
- DataGridViewImageColumn.cs
- TagMapCollection.cs
- MouseGestureValueSerializer.cs
- DetailsViewDesigner.cs
- HScrollProperties.cs
- Separator.cs
- SequentialUshortCollection.cs
- DescendentsWalker.cs
- PageMediaSize.cs
- AuthenticationService.cs
- TextSelection.cs
- Debugger.cs
- ResourceManagerWrapper.cs
- NotificationContext.cs
- TrustLevel.cs
- BitmapEffect.cs
- WindowsListViewItemStartMenu.cs
- PropertyGridCommands.cs
- EraserBehavior.cs
- FilteredDataSetHelper.cs
- SqlConnectionString.cs
- WasEndpointConfigContainer.cs
- NativeMethods.cs
- NotCondition.cs
- GeneratedView.cs
- SearchForVirtualItemEventArgs.cs
- MonthChangedEventArgs.cs
- DatatypeImplementation.cs
- ToolboxComponentsCreatingEventArgs.cs
- ElementsClipboardData.cs
- CommandEventArgs.cs
- FrameworkElementAutomationPeer.cs
- AnnotationMap.cs
- OrderedDictionaryStateHelper.cs