Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- KerberosRequestorSecurityToken.cs
- EntityConnectionStringBuilderItem.cs
- AssemblyBuilder.cs
- X509ThumbprintKeyIdentifierClause.cs
- DetailsView.cs
- PropertyDescriptorCollection.cs
- X509Certificate2.cs
- SchemeSettingElementCollection.cs
- SlotInfo.cs
- OutputCacheProfile.cs
- RealProxy.cs
- FixedSOMGroup.cs
- AuthorizationRule.cs
- FixedSOMTextRun.cs
- OdbcConnectionStringbuilder.cs
- RegexStringValidator.cs
- PointCollection.cs
- MediaElementAutomationPeer.cs
- RegexTree.cs
- InheritanceRules.cs
- XamlContextStack.cs
- ValidationHelper.cs
- Vector3D.cs
- SortQuery.cs
- PointAnimationUsingPath.cs
- FullTextLine.cs
- SystemFonts.cs
- DbModificationCommandTree.cs
- TitleStyle.cs
- BamlLocalizabilityResolver.cs
- AnchoredBlock.cs
- ResourceSet.cs
- SHA384.cs
- ColorContext.cs
- TimeoutException.cs
- XPathAncestorQuery.cs
- TraceListener.cs
- XPathConvert.cs
- Point3DCollection.cs
- PerfCounterSection.cs
- WindowsGraphicsWrapper.cs
- BitmapFrameDecode.cs
- InvokeGenerator.cs
- ReliableDuplexSessionChannel.cs
- AsymmetricSignatureDeformatter.cs
- BamlVersionHeader.cs
- SynchronizingStream.cs
- TypeValidationEventArgs.cs
- Comparer.cs
- VisualBrush.cs
- PackWebResponse.cs
- _CommandStream.cs
- HintTextMaxWidthConverter.cs
- ResourceType.cs
- IncrementalReadDecoders.cs
- PropertyRef.cs
- FontCacheLogic.cs
- WebServiceMethodData.cs
- HostSecurityManager.cs
- SystemTcpConnection.cs
- TextEditorSelection.cs
- SafeNativeMethods.cs
- LineServices.cs
- GenericRootAutomationPeer.cs
- SelectedDatesCollection.cs
- ClientUtils.cs
- FrameworkRichTextComposition.cs
- PropertyRef.cs
- ScrollContentPresenter.cs
- WaitForChangedResult.cs
- ReferentialConstraint.cs
- XmlnsCache.cs
- printdlgexmarshaler.cs
- SafeRightsManagementPubHandle.cs
- DirectoryInfo.cs
- SmtpMail.cs
- TransformValueSerializer.cs
- Renderer.cs
- Scanner.cs
- RegexTree.cs
- mda.cs
- EncodingDataItem.cs
- DataGridRow.cs
- Vector.cs
- FacetEnabledSchemaElement.cs
- LogicalTreeHelper.cs
- DateTimeOffset.cs
- ShaderRenderModeValidation.cs
- ToolStripDropDownMenu.cs
- CriticalFinalizerObject.cs
- BindUriHelper.cs
- AssemblyAttributesGoHere.cs
- DesignerForm.cs
- SymmetricKeyWrap.cs
- entityreference_tresulttype.cs
- RectangleGeometry.cs
- AuthenticationService.cs
- DesignTimeParseData.cs
- SvcMapFileSerializer.cs
- XmlSchemaException.cs