Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Documents / Underline.cs / 1305600 / 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SoapIncludeAttribute.cs
- ContentValidator.cs
- Pen.cs
- ColorBlend.cs
- XmlLoader.cs
- Listbox.cs
- StylusPlugin.cs
- SharedStream.cs
- TransformDescriptor.cs
- ImageFormat.cs
- DefaultTextStoreTextComposition.cs
- WindowsIPAddress.cs
- Dispatcher.cs
- OracleNumber.cs
- ResizeBehavior.cs
- RenderOptions.cs
- NamespaceQuery.cs
- BamlLocalizableResource.cs
- SafeNativeMethodsCLR.cs
- Parsers.cs
- Sql8ExpressionRewriter.cs
- SamlAudienceRestrictionCondition.cs
- UiaCoreApi.cs
- EncoderParameters.cs
- HttpCapabilitiesBase.cs
- XmlQueryOutput.cs
- GradientStopCollection.cs
- TextRangeEditTables.cs
- XmlNotation.cs
- PolicyValidator.cs
- util.cs
- BindingParameterCollection.cs
- CodeMemberProperty.cs
- WpfXamlLoader.cs
- WebServiceMethodData.cs
- MetadataResolver.cs
- regiisutil.cs
- COM2AboutBoxPropertyDescriptor.cs
- EditorZone.cs
- ControlPaint.cs
- OpenTypeLayout.cs
- AvTrace.cs
- Vertex.cs
- TakeQueryOptionExpression.cs
- ActivityExecutorOperation.cs
- HtmlInputFile.cs
- ImageCollectionEditor.cs
- SerTrace.cs
- FixedSOMElement.cs
- DbModificationCommandTree.cs
- rsa.cs
- OracleTransaction.cs
- ServiceOperationParameter.cs
- EventEntry.cs
- OleStrCAMarshaler.cs
- ServerIdentity.cs
- TextBox.cs
- ListViewDeletedEventArgs.cs
- AppDomainFactory.cs
- ComponentGuaranteesAttribute.cs
- streamingZipPartStream.cs
- XmlReflectionImporter.cs
- PrimarySelectionAdorner.cs
- UpdatePanel.cs
- HotCommands.cs
- TreeNodeBinding.cs
- RequiredArgumentAttribute.cs
- RadioButtonFlatAdapter.cs
- AdapterUtil.cs
- Monitor.cs
- Convert.cs
- Single.cs
- BackoffTimeoutHelper.cs
- ValidationPropertyAttribute.cs
- TrustManager.cs
- CssClassPropertyAttribute.cs
- SqlTypesSchemaImporter.cs
- TouchesOverProperty.cs
- _IPv6Address.cs
- OleDbRowUpdatedEvent.cs
- CodeArgumentReferenceExpression.cs
- BamlResourceContent.cs
- Speller.cs
- Atom10FormatterFactory.cs
- ColorMap.cs
- CacheOutputQuery.cs
- ReachPrintTicketSerializerAsync.cs
- SimpleType.cs
- CodeTypeOfExpression.cs
- ConnectivityStatus.cs
- ProjectionPathSegment.cs
- IntermediatePolicyValidator.cs
- StateDesigner.cs
- XpsFilter.cs
- ConfigDefinitionUpdates.cs
- MembershipValidatePasswordEventArgs.cs
- ViewBox.cs
- IntranetCredentialPolicy.cs
- Model3D.cs
- OleDbFactory.cs