Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Automation / Peers / GroupBoxAutomationPeer.cs / 1305600 / 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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CompositionTarget.cs
- AssemblyAttributesGoHere.cs
- TransformerConfigurationWizardBase.cs
- InstancePersistenceCommand.cs
- dataSvcMapFileLoader.cs
- DirtyTextRange.cs
- WorkflowApplicationAbortedException.cs
- DateTimePicker.cs
- EventProviderBase.cs
- NamespaceList.cs
- Message.cs
- ErrorProvider.cs
- _Win32.cs
- CommonGetThemePartSize.cs
- DataGridViewRowCollection.cs
- CmsUtils.cs
- Rect.cs
- ListViewCommandEventArgs.cs
- BufferModeSettings.cs
- ReadOnlyDataSourceView.cs
- XpsPackagingException.cs
- XmlWellformedWriter.cs
- StringResourceManager.cs
- BufferedGraphicsManager.cs
- ReflectionPermission.cs
- SqlRewriteScalarSubqueries.cs
- MemoryPressure.cs
- Int64Storage.cs
- ColumnMap.cs
- SqlTransaction.cs
- ActivityInstanceMap.cs
- ControllableStoryboardAction.cs
- ActivityDelegate.cs
- TreeBuilder.cs
- RoutedEventArgs.cs
- Bezier.cs
- TableLayoutStyleCollection.cs
- DataGridCell.cs
- DbProviderFactories.cs
- RemoteWebConfigurationHostServer.cs
- XmlSchemaComplexContentExtension.cs
- DetailsViewPagerRow.cs
- ClientApiGenerator.cs
- ZipIOLocalFileHeader.cs
- PoisonMessageException.cs
- HttpWriter.cs
- ADMembershipProvider.cs
- sqlser.cs
- BaseResourcesBuildProvider.cs
- EncodingTable.cs
- DelegateSerializationHolder.cs
- CreateUserWizard.cs
- UnsafeNativeMethods.cs
- SessionStateUtil.cs
- SrgsElement.cs
- HashHelper.cs
- DataQuery.cs
- WindowsScrollBarBits.cs
- WebBrowserHelper.cs
- DragDropHelper.cs
- SecurityPermission.cs
- ToolStripItemClickedEventArgs.cs
- EventBuilder.cs
- SettingsPropertyValue.cs
- FixedStringLookup.cs
- MouseBinding.cs
- GetReadStreamResult.cs
- ActivityExecutor.cs
- MexHttpsBindingCollectionElement.cs
- SqlClientWrapperSmiStreamChars.cs
- StronglyTypedResourceBuilder.cs
- TextViewBase.cs
- FlagsAttribute.cs
- DesignerRegionCollection.cs
- XPathSingletonIterator.cs
- XmlDictionaryWriter.cs
- ConstantProjectedSlot.cs
- SamlSubject.cs
- GridSplitter.cs
- XmlException.cs
- DataChangedEventManager.cs
- IChannel.cs
- DecimalSumAggregationOperator.cs
- _ConnectStream.cs
- DBCSCodePageEncoding.cs
- DefaultProxySection.cs
- RelationalExpressions.cs
- Guid.cs
- SafeSecurityHandles.cs
- CompilationLock.cs
- HMACRIPEMD160.cs
- JsonReader.cs
- SelectedDatesCollection.cs
- InheritedPropertyChangedEventArgs.cs
- EventLogRecord.cs
- GiveFeedbackEvent.cs
- Filter.cs
- RunClient.cs
- WebPartManagerInternals.cs
- XmlQualifiedName.cs