Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ColorAnimationBase.cs
- PersonalizationStateQuery.cs
- PngBitmapEncoder.cs
- WorkflowMarkupSerializerMapping.cs
- DataRelationCollection.cs
- SecurityTokenAuthenticator.cs
- Style.cs
- ExpressionEvaluator.cs
- WebPartVerb.cs
- ThemeDictionaryExtension.cs
- MsmqDiagnostics.cs
- ColumnReorderedEventArgs.cs
- SimpleHandlerBuildProvider.cs
- TreeViewItemAutomationPeer.cs
- DbMetaDataCollectionNames.cs
- BinHexDecoder.cs
- ConfigXmlComment.cs
- KeyMatchBuilder.cs
- AnimationClockResource.cs
- ImageConverter.cs
- InkCanvas.cs
- _ContextAwareResult.cs
- ProtectedConfigurationSection.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- EmptyControlCollection.cs
- AnnotationObservableCollection.cs
- PrintingPermissionAttribute.cs
- HtmlTableCell.cs
- FragmentNavigationEventArgs.cs
- OrderPreservingSpoolingTask.cs
- SystemUdpStatistics.cs
- TemplateEditingService.cs
- TCEAdapterGenerator.cs
- InternalUserCancelledException.cs
- RequestCache.cs
- SessionEndedEventArgs.cs
- AddInServer.cs
- mediaclock.cs
- RequestSecurityTokenForRemoteTokenFactory.cs
- EdmPropertyAttribute.cs
- HttpServerVarsCollection.cs
- Utils.cs
- HostedAspNetEnvironment.cs
- ThaiBuddhistCalendar.cs
- TextComposition.cs
- Win32Exception.cs
- RadioButton.cs
- BitmapDownload.cs
- WebBrowserContainer.cs
- RelationshipManager.cs
- TextServicesContext.cs
- StatusBarItemAutomationPeer.cs
- Compiler.cs
- SqlRecordBuffer.cs
- XmlSortKey.cs
- TypeToken.cs
- SynchronizedDispatch.cs
- RectangleGeometry.cs
- CalendarAutoFormatDialog.cs
- TraceSection.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- WsatAdminException.cs
- DataTableTypeConverter.cs
- SqlCacheDependency.cs
- CodeDomConfigurationHandler.cs
- ValidatorAttribute.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- AsyncOperation.cs
- MouseWheelEventArgs.cs
- Evidence.cs
- DataGridClipboardHelper.cs
- ApplicationException.cs
- XPathDocumentBuilder.cs
- RootNamespaceAttribute.cs
- CharEnumerator.cs
- Type.cs
- TypeSystem.cs
- Mutex.cs
- DbConnectionPoolGroup.cs
- SerializerWriterEventHandlers.cs
- TypeDelegator.cs
- SqlUDTStorage.cs
- HitTestResult.cs
- HttpClientCertificate.cs
- SystemIcmpV6Statistics.cs
- WithStatement.cs
- ConnectionPoint.cs
- DockProviderWrapper.cs
- GiveFeedbackEvent.cs
- AnimationClockResource.cs
- SchemaImporter.cs
- PhysicalAddress.cs
- CompilerError.cs
- RouteUrlExpressionBuilder.cs
- Transform3DGroup.cs
- HtmlInputHidden.cs
- HttpWebResponse.cs
- RequestTimeoutManager.cs
- BaseTemplateParser.cs
- SecurityDescriptor.cs