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
- Stylesheet.cs
- SelectedDatesCollection.cs
- PageWrapper.cs
- MethodImplAttribute.cs
- HashLookup.cs
- X509Utils.cs
- LassoSelectionBehavior.cs
- ComponentEditorPage.cs
- RelationshipEndCollection.cs
- MatrixIndependentAnimationStorage.cs
- ComPlusSynchronizationContext.cs
- Attributes.cs
- PolicyLevel.cs
- ExpressionConverter.cs
- ContentElementAutomationPeer.cs
- CommonGetThemePartSize.cs
- DataGridHyperlinkColumn.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- TransformationRules.cs
- QilInvokeEarlyBound.cs
- VirtualPathProvider.cs
- UnsafeNativeMethods.cs
- EncoderNLS.cs
- XamlBrushSerializer.cs
- HttpResponseInternalWrapper.cs
- SpecialNameAttribute.cs
- SafeNativeMethods.cs
- SerializationInfo.cs
- DbSetClause.cs
- DrawToolTipEventArgs.cs
- DataTemplateKey.cs
- DataControlLinkButton.cs
- EditorPartCollection.cs
- Monitor.cs
- OperationCanceledException.cs
- Authorization.cs
- SortQuery.cs
- FixedSOMContainer.cs
- WCFBuildProvider.cs
- InvokeGenerator.cs
- PermissionRequestEvidence.cs
- PerformanceCounterPermissionAttribute.cs
- SafeHandle.cs
- DesignerWidgets.cs
- DictionaryChange.cs
- GifBitmapDecoder.cs
- updateconfighost.cs
- ThemeableAttribute.cs
- EntityDataSourceColumn.cs
- DnsPermission.cs
- coordinatorfactory.cs
- RegexWorker.cs
- ContractComponent.cs
- StylusButton.cs
- IndexedGlyphRun.cs
- ListViewInsertEventArgs.cs
- XPathDocumentIterator.cs
- RoleManagerEventArgs.cs
- Semaphore.cs
- ResourceReader.cs
- PackagePart.cs
- AuthenticationModuleElement.cs
- CodeNamespaceImportCollection.cs
- OletxTransactionManager.cs
- ControlPersister.cs
- IIS7WorkerRequest.cs
- ContainerSelectorActiveEvent.cs
- FunctionImportElement.cs
- TriState.cs
- CompositeActivityDesigner.cs
- DataGridColumnHeaderAutomationPeer.cs
- PermissionSetEnumerator.cs
- CodeArrayCreateExpression.cs
- XmlHelper.cs
- Psha1DerivedKeyGenerator.cs
- Codec.cs
- FlowDocumentPageViewerAutomationPeer.cs
- PropertyStore.cs
- SoapElementAttribute.cs
- WebHeaderCollection.cs
- FormCollection.cs
- XmlAnyAttributeAttribute.cs
- ButtonFlatAdapter.cs
- AssemblyUtil.cs
- OpenTypeCommon.cs
- OlePropertyStructs.cs
- ImageKeyConverter.cs
- MenuItemBinding.cs
- CategoryAttribute.cs
- ImmComposition.cs
- CreateUserWizard.cs
- DetailsViewPagerRow.cs
- MemberPath.cs
- XpsFontSerializationService.cs
- SqlProfileProvider.cs
- EntityException.cs
- util.cs
- OrderPreservingSpoolingTask.cs
- ColumnMapCopier.cs
- StringFormat.cs