Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Framework / System / Windows / Controls / Primitives / StatusBarItem.cs / 1 / StatusBarItem.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System.Windows; using System.Windows.Automation.Peers; using MS.Internal.KnownBoxes; namespace System.Windows.Controls.Primitives { ////// Control that implements a item inside a StatusBar. /// [Localizability(LocalizationCategory.Inherit)] public class StatusBarItem : ContentControl { #region Constructors static StatusBarItem() { DefaultStyleKeyProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(typeof(StatusBarItem))); _dType = DependencyObjectType.FromSystemTypeInternal(typeof(StatusBarItem)); IsTabStopProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); } #endregion #region Accessibility ////// Creates AutomationPeer ( protected override AutomationPeer OnCreateAutomationPeer() { return new StatusBarItemAutomationPeer(this); } #endregion #region DTypeThemeStyleKey // Returns the DependencyObjectType for the registered ThemeStyleKey's default // value. Controls will override this method to return approriate types. internal override DependencyObjectType DTypeThemeStyleKey { get { return _dType; } } private static DependencyObjectType _dType; #endregion DTypeThemeStyleKey } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System.Windows; using System.Windows.Automation.Peers; using MS.Internal.KnownBoxes; namespace System.Windows.Controls.Primitives { ///) /// /// Control that implements a item inside a StatusBar. /// [Localizability(LocalizationCategory.Inherit)] public class StatusBarItem : ContentControl { #region Constructors static StatusBarItem() { DefaultStyleKeyProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(typeof(StatusBarItem))); _dType = DependencyObjectType.FromSystemTypeInternal(typeof(StatusBarItem)); IsTabStopProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); } #endregion #region Accessibility ////// Creates AutomationPeer ( protected override AutomationPeer OnCreateAutomationPeer() { return new StatusBarItemAutomationPeer(this); } #endregion #region DTypeThemeStyleKey // Returns the DependencyObjectType for the registered ThemeStyleKey's default // value. Controls will override this method to return approriate types. internal override DependencyObjectType DTypeThemeStyleKey { get { return _dType; } } private static DependencyObjectType _dType; #endregion DTypeThemeStyleKey } } // 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
- ConnectionPointCookie.cs
- QuaternionRotation3D.cs
- ListBase.cs
- SafeFileMappingHandle.cs
- IntSecurity.cs
- ServiceDeploymentInfo.cs
- RoutedEventHandlerInfo.cs
- OleCmdHelper.cs
- ContainerVisual.cs
- TransformPattern.cs
- Rotation3DAnimationUsingKeyFrames.cs
- ProxySimple.cs
- FloatUtil.cs
- HiddenField.cs
- SubMenuStyleCollectionEditor.cs
- InternalMappingException.cs
- DesignerAttributeInfo.cs
- base64Transforms.cs
- ImageAutomationPeer.cs
- WithParamAction.cs
- ObjectSecurity.cs
- XamlFigureLengthSerializer.cs
- ValidatingReaderNodeData.cs
- WmfPlaceableFileHeader.cs
- BufferedOutputAsyncStream.cs
- ConstraintConverter.cs
- MultiPartWriter.cs
- QilGenerator.cs
- MetadataCollection.cs
- TextBox.cs
- DataMisalignedException.cs
- ConfigXmlCDataSection.cs
- processwaithandle.cs
- Misc.cs
- AttributeTable.cs
- SafeLibraryHandle.cs
- NavigationEventArgs.cs
- KnownTypes.cs
- BackgroundFormatInfo.cs
- TextTreeInsertElementUndoUnit.cs
- Directory.cs
- wmiprovider.cs
- SoapUnknownHeader.cs
- MarkerProperties.cs
- CodeMemberProperty.cs
- ColumnReorderedEventArgs.cs
- URLAttribute.cs
- PropertyEmitter.cs
- QueryMatcher.cs
- ListComponentEditorPage.cs
- NGCPageContentSerializerAsync.cs
- VerificationAttribute.cs
- DesignTimeParseData.cs
- JsonServiceDocumentSerializer.cs
- SQLResource.cs
- MobileContainerDesigner.cs
- GenericTypeParameterBuilder.cs
- PropertyOverridesDialog.cs
- JulianCalendar.cs
- WebServicesInteroperability.cs
- BinaryReader.cs
- PrimitiveDataContract.cs
- AppDomain.cs
- QfeChecker.cs
- ProtocolsConfigurationEntry.cs
- UnsafeNativeMethods.cs
- Typeface.cs
- Registry.cs
- MiniLockedBorderGlyph.cs
- WorkflowControlClient.cs
- SQLChars.cs
- StructuralCache.cs
- TextLineBreak.cs
- cookie.cs
- ThreadStateException.cs
- VoiceSynthesis.cs
- CallSiteBinder.cs
- MethodBody.cs
- ApplicationHost.cs
- SqlDataSourceCommandParser.cs
- WebProxyScriptElement.cs
- RsaKeyGen.cs
- _ProxyChain.cs
- OutputCacheSection.cs
- CodeSubDirectoriesCollection.cs
- PeerNearMe.cs
- XPathParser.cs
- Html32TextWriter.cs
- GenericXmlSecurityToken.cs
- UserControl.cs
- httpapplicationstate.cs
- Win32Native.cs
- WindowsListBox.cs
- EmptyControlCollection.cs
- Page.cs
- AuthenticationModulesSection.cs
- ADRoleFactory.cs
- MemberRelationshipService.cs
- PropertyEmitter.cs
- Evidence.cs