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
- __Error.cs
- GridPatternIdentifiers.cs
- XamlTreeBuilderBamlRecordWriter.cs
- GridViewUpdatedEventArgs.cs
- ColorConvertedBitmapExtension.cs
- CodeObject.cs
- SecurityState.cs
- TypeConverterBase.cs
- DateTimeFormatInfoScanner.cs
- InstancePersistence.cs
- UserControl.cs
- DependencyPropertyConverter.cs
- SplashScreenNativeMethods.cs
- BitConverter.cs
- MasterPageParser.cs
- ArrayList.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- EntityModelSchemaGenerator.cs
- XmlDocumentSchema.cs
- GatewayDefinition.cs
- HttpListener.cs
- TextTreeUndoUnit.cs
- XmlSchemaSimpleTypeRestriction.cs
- FlatButtonAppearance.cs
- GrammarBuilderPhrase.cs
- TextCompositionManager.cs
- ComMethodElement.cs
- DataServiceRequest.cs
- StandardToolWindows.cs
- SetIterators.cs
- TypedElement.cs
- PolyLineSegment.cs
- AssertFilter.cs
- KeyTimeConverter.cs
- FixedSchema.cs
- Storyboard.cs
- TraceEventCache.cs
- TimeoutValidationAttribute.cs
- ToolStripRenderEventArgs.cs
- CultureInfo.cs
- UseLicense.cs
- NamedPermissionSet.cs
- Error.cs
- ExtractorMetadata.cs
- ImageDrawing.cs
- DataExpression.cs
- WorkflowOperationInvoker.cs
- Preprocessor.cs
- TextStore.cs
- FormViewRow.cs
- DataErrorValidationRule.cs
- AppDomainAttributes.cs
- SinglePageViewer.cs
- XmlKeywords.cs
- TripleDESCryptoServiceProvider.cs
- MetadataCacheItem.cs
- SoapExtension.cs
- DataSet.cs
- SystemKeyConverter.cs
- UseManagedPresentationBindingElementImporter.cs
- HwndProxyElementProvider.cs
- ControlParser.cs
- EntitySetBase.cs
- AdapterDictionary.cs
- ContentDefinition.cs
- ItemCollection.cs
- PreservationFileWriter.cs
- XmlSchemaExternal.cs
- HttpModule.cs
- ListBoxAutomationPeer.cs
- XPathScanner.cs
- ClosableStream.cs
- DateTimeStorage.cs
- LassoHelper.cs
- MembershipValidatePasswordEventArgs.cs
- RoleManagerEventArgs.cs
- SmtpLoginAuthenticationModule.cs
- Delegate.cs
- HttpSocketManager.cs
- PropagatorResult.cs
- CommandEventArgs.cs
- SignedXml.cs
- ToolStripItemDesigner.cs
- KeyNotFoundException.cs
- TransactionException.cs
- EditableRegion.cs
- Debug.cs
- Matrix3D.cs
- IList.cs
- WindowsGraphicsCacheManager.cs
- EntryPointNotFoundException.cs
- Menu.cs
- CaseStatementProjectedSlot.cs
- FlowPanelDesigner.cs
- CodeChecksumPragma.cs
- exports.cs
- EditingScopeUndoUnit.cs
- WindowsUpDown.cs
- formatter.cs
- MobileCapabilities.cs