Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / 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. //---------------------------------------------------------------------------- // 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
- ProcessHostMapPath.cs
- MediaPlayerState.cs
- _SslState.cs
- ConfigurationElementCollection.cs
- HttpFormatExtensions.cs
- StorageScalarPropertyMapping.cs
- TextProperties.cs
- ClientTarget.cs
- DragEvent.cs
- DataSourceNameHandler.cs
- URI.cs
- AttributeSetAction.cs
- HtmlTableRow.cs
- ColorBuilder.cs
- AssemblyFilter.cs
- SqlDataSourceCommandParser.cs
- MonitorWrapper.cs
- Stack.cs
- SqlInternalConnectionTds.cs
- TagPrefixAttribute.cs
- ViewBox.cs
- LogRecordSequence.cs
- EnumerableCollectionView.cs
- DoubleKeyFrameCollection.cs
- ExpressionVisitor.cs
- ToolStripItem.cs
- XhtmlBasicLiteralTextAdapter.cs
- GenerateDerivedKeyRequest.cs
- XmlTextEncoder.cs
- BoolExpressionVisitors.cs
- ObjectStorage.cs
- ConfigurationStrings.cs
- ContractSearchPattern.cs
- Version.cs
- ExpandCollapsePattern.cs
- SQLBinary.cs
- InternalEnumValidator.cs
- Util.cs
- CustomCredentialPolicy.cs
- NetworkAddressChange.cs
- PrtTicket_Base.cs
- ControllableStoryboardAction.cs
- ContentType.cs
- DesignTimeSiteMapProvider.cs
- Int64.cs
- UnsafeNativeMethods.cs
- Validator.cs
- mediaeventshelper.cs
- TextContainer.cs
- RelationshipDetailsRow.cs
- DialogWindow.cs
- WebPartEventArgs.cs
- URLEditor.cs
- EncryptedXml.cs
- TextTreeExtractElementUndoUnit.cs
- XmlSchemaSubstitutionGroup.cs
- FormViewRow.cs
- HasCopySemanticsAttribute.cs
- XmlWriterTraceListener.cs
- HWStack.cs
- XmlWrappingReader.cs
- Transform3DCollection.cs
- XmlElementList.cs
- AdornerHitTestResult.cs
- SqlCacheDependencyDatabaseCollection.cs
- PermissionSet.cs
- HtmlButton.cs
- Transactions.cs
- TimerElapsedEvenArgs.cs
- ViewCellRelation.cs
- DataListGeneralPage.cs
- List.cs
- Serializer.cs
- CheckBoxFlatAdapter.cs
- SystemResources.cs
- CommentEmitter.cs
- NameSpaceExtractor.cs
- BufferedGraphicsManager.cs
- DataGridTableCollection.cs
- TreeView.cs
- InputScope.cs
- TemplateBindingExtension.cs
- RequestQueryProcessor.cs
- AllMembershipCondition.cs
- CurrentTimeZone.cs
- EventManager.cs
- NumberFunctions.cs
- ItemList.cs
- BlobPersonalizationState.cs
- Int16Converter.cs
- ScalarConstant.cs
- NameSpaceExtractor.cs
- DesignerLinkAdapter.cs
- WorkflowIdleBehavior.cs
- Publisher.cs
- CodeBlockBuilder.cs
- EventItfInfo.cs
- ParameterBuilder.cs
- ErrorWebPart.cs
- IBuiltInEvidence.cs