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
- EditorZoneBase.cs
- TrackBar.cs
- DataBindingCollection.cs
- TraceListeners.cs
- TreeBuilderBamlTranslator.cs
- DodSequenceMerge.cs
- StoreContentChangedEventArgs.cs
- RangeValidator.cs
- MarkupCompilePass1.cs
- SignedPkcs7.cs
- mansign.cs
- ReaderOutput.cs
- GreenMethods.cs
- documentsequencetextpointer.cs
- ReferenceEqualityComparer.cs
- XmlDictionaryWriter.cs
- MethodBuilder.cs
- ApplicationManager.cs
- InertiaTranslationBehavior.cs
- GeneralTransformCollection.cs
- DayRenderEvent.cs
- DisableDpiAwarenessAttribute.cs
- DataGridViewCell.cs
- AccessKeyManager.cs
- Aggregates.cs
- MoveSizeWinEventHandler.cs
- DynamicAttribute.cs
- smtpconnection.cs
- DocumentEventArgs.cs
- SchemaEntity.cs
- TabControlCancelEvent.cs
- HierarchicalDataBoundControl.cs
- ParserContext.cs
- DbProviderServices.cs
- FunctionImportMapping.cs
- NullableIntSumAggregationOperator.cs
- XmlEntityReference.cs
- XmlReaderSettings.cs
- ApplicationSecurityInfo.cs
- EncodingStreamWrapper.cs
- BackStopAuthenticationModule.cs
- COAUTHINFO.cs
- FragmentQueryKB.cs
- FastPropertyAccessor.cs
- ProcessModelInfo.cs
- BamlCollectionHolder.cs
- XmlReaderDelegator.cs
- FormsAuthenticationEventArgs.cs
- ProviderSettingsCollection.cs
- InternalEnumValidatorAttribute.cs
- HeaderUtility.cs
- LocatorPartList.cs
- QilStrConcat.cs
- EncodingStreamWrapper.cs
- _SpnDictionary.cs
- OdbcRowUpdatingEvent.cs
- DecoderNLS.cs
- MeasureItemEvent.cs
- MasterPageCodeDomTreeGenerator.cs
- QuaternionValueSerializer.cs
- CounterCreationData.cs
- HandlerBase.cs
- SingleObjectCollection.cs
- xmlglyphRunInfo.cs
- ExceptQueryOperator.cs
- WebEvents.cs
- GcSettings.cs
- UnsafeNativeMethodsTablet.cs
- DataTableMapping.cs
- IndexerNameAttribute.cs
- MemberDomainMap.cs
- FragmentNavigationEventArgs.cs
- WsatServiceCertificate.cs
- Variant.cs
- FontCacheUtil.cs
- OracleCommandBuilder.cs
- StaticSiteMapProvider.cs
- ProtocolViolationException.cs
- QilNode.cs
- LinkArea.cs
- MailWebEventProvider.cs
- SqlProfileProvider.cs
- RequestDescription.cs
- ByteConverter.cs
- ByteKeyFrameCollection.cs
- XMLUtil.cs
- XPathNavigatorKeyComparer.cs
- BookmarkTable.cs
- Token.cs
- Byte.cs
- Symbol.cs
- HttpCookie.cs
- GlobalizationSection.cs
- TypedLocationWrapper.cs
- CellConstant.cs
- DataGridViewIntLinkedList.cs
- UpdateProgress.cs
- ping.cs
- StrokeRenderer.cs
- AffineTransform3D.cs