Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Controls / Primitives / StatusBarItem.cs / 1305600 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RevocationPoint.cs
- ChannelRequirements.cs
- HybridCollection.cs
- SemanticBasicElement.cs
- KerberosSecurityTokenProvider.cs
- EnvelopedSignatureTransform.cs
- HotSpot.cs
- ActivityWithResultValueSerializer.cs
- PropertyDescriptor.cs
- ClientBuildManager.cs
- Avt.cs
- HtmlTable.cs
- StylusPointPropertyInfo.cs
- WizardStepBase.cs
- HtmlButton.cs
- SecurityCriticalDataForSet.cs
- SqlDependencyUtils.cs
- GeneralTransformCollection.cs
- IsolatedStorageSecurityState.cs
- TransformCollection.cs
- ConnectionsZoneDesigner.cs
- Gdiplus.cs
- UserControl.cs
- FixedTextSelectionProcessor.cs
- smtpconnection.cs
- _NestedSingleAsyncResult.cs
- XPathDocumentIterator.cs
- ObjectSpanRewriter.cs
- AdPostCacheSubstitution.cs
- CallbackDebugBehavior.cs
- HttpException.cs
- ConnectionProviderAttribute.cs
- DocComment.cs
- DataListItem.cs
- SecurityAppliedMessage.cs
- SocketManager.cs
- XmlTypeAttribute.cs
- AttributeUsageAttribute.cs
- ReflectPropertyDescriptor.cs
- OperatorExpressions.cs
- LayoutTable.cs
- GraphicsPathIterator.cs
- CommandPlan.cs
- ImageMap.cs
- OleAutBinder.cs
- ArgumentFixer.cs
- EntityDesignerBuildProvider.cs
- ButtonRenderer.cs
- Lease.cs
- AnimationStorage.cs
- WindowsStartMenu.cs
- EndpointConfigContainer.cs
- PrePrepareMethodAttribute.cs
- NonVisualControlAttribute.cs
- SwitchElementsCollection.cs
- LicenseManager.cs
- basenumberconverter.cs
- SplitterPanel.cs
- TcpClientSocketManager.cs
- SafeCryptContextHandle.cs
- EditorPart.cs
- CombinedGeometry.cs
- _emptywebproxy.cs
- WindowsProgressbar.cs
- ResourceExpression.cs
- CodeSubDirectoriesCollection.cs
- GorillaCodec.cs
- GroupLabel.cs
- ManagementOperationWatcher.cs
- WindowsScrollBar.cs
- Module.cs
- PasswordDeriveBytes.cs
- ValidateNames.cs
- HttpAsyncResult.cs
- WithParamAction.cs
- ProbeDuplex11AsyncResult.cs
- CorePropertiesFilter.cs
- BufferedWebEventProvider.cs
- TrackingStringDictionary.cs
- RegistrationContext.cs
- WindowsRichEdit.cs
- SqlDependency.cs
- DetailsViewPagerRow.cs
- SQLMembershipProvider.cs
- SortedList.cs
- HtmlForm.cs
- DaylightTime.cs
- ForwardPositionQuery.cs
- AngleUtil.cs
- SimplePropertyEntry.cs
- AlternationConverter.cs
- SHA384CryptoServiceProvider.cs
- NullExtension.cs
- SqlFlattener.cs
- ReadOnlyState.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- querybuilder.cs
- EndPoint.cs
- WebPartConnectionCollection.cs
- ReflectTypeDescriptionProvider.cs