Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Documents / Underline.cs / 1 / Underline.cs
//---------------------------------------------------------------------------- // Copyright (C) Microsoft Corporation. All rights reserved. // // Description: Underline element. // Xaml markup helper for indicating superscript content. // Equivalent to a Span with TextDecorations property set to TextDecorations.Underlined. // Can contain other inline elements. // //--------------------------------------------------------------------------- namespace System.Windows.Documents { ////// Underline element - markup helper for indicating superscript content. /// Equivalent to a Span with TextDecorations property set to TextDecorations.Underlined. /// Can contain other inline elements. /// public class Underline : Span { //------------------------------------------------------------------- // // Constructors // //------------------------------------------------------------------- #region Constructors ////// Static ctor. Initializes property metadata. /// static Underline() { DefaultStyleKeyProperty.OverrideMetadata(typeof(Underline), new FrameworkPropertyMetadata(typeof(Underline))); } ////// Initilizes a new instance of a Underline element /// ////// To become fully functional this element requires at least one other Inline element /// as its child, typically Run with some text. /// In Xaml markup the UNderline element may appear without Run child, /// but please note that such Run was implicitly inserted by parser. /// public Underline() : base() { } ////// Initializes a new instance of Underline element and adds a given Subscript element as its first child. /// /// /// Inline element added as an initial child to this Underline element /// public Underline(Inline childInline) : base(childInline) { } ////// Creates a new Underline instance. /// /// /// Optional child Inline for the new Underline. May be null. /// /// /// Optional position at which to insert the new Underline. May be null. /// public Underline(Inline childInline, TextPointer insertionPosition) : base(childInline, insertionPosition) { } ////// Creates a new Underline instance covering existing content. /// /// /// Start position of the new Underline. /// /// /// End position of the new Underline. /// ////// start and end must both be parented by the same Paragraph, otherwise /// the method will raise an ArgumentException. /// public Underline(TextPointer start, TextPointer end) : base(start, end) { } #endregion Constructors } } // 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
- TabPanel.cs
- MimeMultiPart.cs
- ImageListImageEditor.cs
- TypeSystemProvider.cs
- RefreshEventArgs.cs
- SettingsPropertyNotFoundException.cs
- BigInt.cs
- GeometryGroup.cs
- TypeUsage.cs
- PropertyGridEditorPart.cs
- SortedList.cs
- StylusButtonEventArgs.cs
- DataBindEngine.cs
- DataGridViewSelectedColumnCollection.cs
- WebPartCatalogAddVerb.cs
- UnionCodeGroup.cs
- CommonRemoteMemoryBlock.cs
- GridViewRow.cs
- PixelShader.cs
- ItemCheckEvent.cs
- GridViewColumnHeader.cs
- DataListItemEventArgs.cs
- ComEventsSink.cs
- MasterPageParser.cs
- OptimalTextSource.cs
- X509Extension.cs
- PasswordRecovery.cs
- XmlILStorageConverter.cs
- TextPointerBase.cs
- Int32EqualityComparer.cs
- SspiHelper.cs
- BasicCommandTreeVisitor.cs
- ToolStripDropTargetManager.cs
- ChooseAction.cs
- XLinq.cs
- BamlRecords.cs
- QilPatternVisitor.cs
- ObjectViewQueryResultData.cs
- OledbConnectionStringbuilder.cs
- Canvas.cs
- UserNameSecurityTokenParameters.cs
- PersonalizationEntry.cs
- CollectionBase.cs
- SignedPkcs7.cs
- BoundField.cs
- InputLanguageSource.cs
- DataControlPagerLinkButton.cs
- GridViewActionList.cs
- PrintDialog.cs
- SqlConnection.cs
- DefaultTextStore.cs
- _LocalDataStoreMgr.cs
- XmlCodeExporter.cs
- DetailsViewRowCollection.cs
- WebZone.cs
- xamlnodes.cs
- PreviousTrackingServiceAttribute.cs
- XmlnsDictionary.cs
- EventDescriptor.cs
- Action.cs
- FlowLayoutPanel.cs
- Aggregates.cs
- newinstructionaction.cs
- FolderBrowserDialog.cs
- GridViewCommandEventArgs.cs
- MobileListItemCollection.cs
- NavigationHelper.cs
- ControlType.cs
- UnionQueryOperator.cs
- ExclusiveTcpListener.cs
- SynchronizedPool.cs
- DetailsViewUpdateEventArgs.cs
- CaseStatementProjectedSlot.cs
- XPathNodeHelper.cs
- StubHelpers.cs
- ReversePositionQuery.cs
- TargetFrameworkAttribute.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- SizeAnimationClockResource.cs
- ThemeableAttribute.cs
- ToolStripItem.cs
- ProtectedConfigurationSection.cs
- AppDomainAttributes.cs
- Emitter.cs
- UserMapPath.cs
- StringInfo.cs
- HitTestParameters3D.cs
- MatrixConverter.cs
- UshortList2.cs
- EdmFunctions.cs
- QueryableDataSourceHelper.cs
- Viewport2DVisual3D.cs
- BadImageFormatException.cs
- UIElementHelper.cs
- CodeTypeMember.cs
- EventBuilder.cs
- MatrixKeyFrameCollection.cs
- DummyDataSource.cs
- Cell.cs
- EventLogger.cs