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
- StagingAreaInputItem.cs
- SkewTransform.cs
- CreateInstanceBinder.cs
- SettingsPropertyNotFoundException.cs
- PartialArray.cs
- Byte.cs
- HttpContextBase.cs
- PropertyDescriptorCollection.cs
- MarkupCompilePass1.cs
- __ConsoleStream.cs
- ComponentCollection.cs
- InternalBufferManager.cs
- DesignerDataRelationship.cs
- DefaultValueConverter.cs
- TypeSystemProvider.cs
- KernelTypeValidation.cs
- ServiceReference.cs
- TextTreeFixupNode.cs
- HtmlElementCollection.cs
- SizeChangedEventArgs.cs
- Section.cs
- PointF.cs
- Deflater.cs
- ActivityMarkupSerializationProvider.cs
- XmlElementCollection.cs
- TextTreeText.cs
- Schema.cs
- Trace.cs
- Pair.cs
- ProxyHwnd.cs
- HotSpot.cs
- AuthStoreRoleProvider.cs
- KeyPressEvent.cs
- UidPropertyAttribute.cs
- Size3D.cs
- AppDomainEvidenceFactory.cs
- MetadataException.cs
- TableAdapterManagerMethodGenerator.cs
- QueryHandler.cs
- ActivityScheduledRecord.cs
- ActiveXSite.cs
- CodeAssignStatement.cs
- ImageButton.cs
- TokenBasedSet.cs
- GroupQuery.cs
- Baml6Assembly.cs
- EventDescriptor.cs
- SqlBuffer.cs
- RolePrincipal.cs
- VectorValueSerializer.cs
- AssemblyNameProxy.cs
- BuildProvider.cs
- httpapplicationstate.cs
- CommandID.cs
- ResourceBinder.cs
- SmiContext.cs
- AssertFilter.cs
- IssuanceTokenProviderBase.cs
- SoapElementAttribute.cs
- MimeBasePart.cs
- Base64Decoder.cs
- HtmlHistory.cs
- HtmlUtf8RawTextWriter.cs
- VSDExceptions.cs
- NameNode.cs
- StateChangeEvent.cs
- XmlTextAttribute.cs
- Privilege.cs
- CompositeScriptReference.cs
- WebPartDisplayMode.cs
- MethodBody.cs
- StreamGeometry.cs
- ListDictionary.cs
- DesignerForm.cs
- MatrixAnimationBase.cs
- FeatureSupport.cs
- Application.cs
- HtmlControl.cs
- ChannelServices.cs
- SqlParameterizer.cs
- HierarchicalDataBoundControl.cs
- FtpWebRequest.cs
- ChangePassword.cs
- BitmapEffectOutputConnector.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- HwndSource.cs
- LabelAutomationPeer.cs
- Size.cs
- StackOverflowException.cs
- XmlAnyAttributeAttribute.cs
- IImplicitResourceProvider.cs
- QilStrConcat.cs
- SymbolUsageManager.cs
- BmpBitmapDecoder.cs
- FontFamily.cs
- DataControlFieldsEditor.cs
- ObjectContext.cs
- Psha1DerivedKeyGenerator.cs
- HttpCapabilitiesBase.cs
- LogWriteRestartAreaState.cs