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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InkPresenter.cs
- DataServiceRequestOfT.cs
- DbParameterCollectionHelper.cs
- Encoding.cs
- HttpListenerTimeoutManager.cs
- DPTypeDescriptorContext.cs
- MemberInfoSerializationHolder.cs
- ResourcePool.cs
- TokenBasedSetEnumerator.cs
- NTAccount.cs
- RegexCapture.cs
- _RequestCacheProtocol.cs
- AvTraceDetails.cs
- XmlDocumentSerializer.cs
- FormatterServices.cs
- basevalidator.cs
- SQLConvert.cs
- CalendarDay.cs
- EncoderExceptionFallback.cs
- Message.cs
- NetNamedPipeBinding.cs
- AddInIpcChannel.cs
- UpnEndpointIdentity.cs
- WebPartConnectionsCancelVerb.cs
- CookieParameter.cs
- ErrorFormatterPage.cs
- BasePattern.cs
- NameNode.cs
- EventArgs.cs
- Input.cs
- DefaultHttpHandler.cs
- UserUseLicenseDictionaryLoader.cs
- _CommandStream.cs
- ProtocolViolationException.cs
- ToolStripControlHost.cs
- SqlRowUpdatedEvent.cs
- MethodBody.cs
- PropertyMetadata.cs
- TriState.cs
- SqlFactory.cs
- WindowsPrincipal.cs
- DataTableMappingCollection.cs
- TrackBarRenderer.cs
- XamlVector3DCollectionSerializer.cs
- Socket.cs
- ViewBox.cs
- DefaultTextStoreTextComposition.cs
- TableRow.cs
- Border.cs
- GridProviderWrapper.cs
- XmlFormatExtensionAttribute.cs
- ProfileProvider.cs
- Attributes.cs
- ThemeInfoAttribute.cs
- SetUserLanguageRequest.cs
- GatewayIPAddressInformationCollection.cs
- XmlDocumentType.cs
- SqlTypesSchemaImporter.cs
- RecordsAffectedEventArgs.cs
- ClientCultureInfo.cs
- smtppermission.cs
- Error.cs
- MethodCallConverter.cs
- NetworkInformationException.cs
- Schema.cs
- PropertyDescriptorCollection.cs
- WindowsStartMenu.cs
- SafeSecurityHelper.cs
- LongTypeConverter.cs
- ErrorHandler.cs
- UdpSocketReceiveManager.cs
- jithelpers.cs
- RuntimeArgumentHandle.cs
- LinqExpressionNormalizer.cs
- SimpleTableProvider.cs
- DataListItem.cs
- VariantWrapper.cs
- RenderTargetBitmap.cs
- ActivityBuilder.cs
- IpcChannel.cs
- ImageInfo.cs
- ExeContext.cs
- EntityDataSourceQueryBuilder.cs
- XmlBoundElement.cs
- LogicalExpr.cs
- ETagAttribute.cs
- SwitchLevelAttribute.cs
- Parameter.cs
- DataViewManagerListItemTypeDescriptor.cs
- BmpBitmapEncoder.cs
- SqlBooleanMismatchVisitor.cs
- HandlerFactoryCache.cs
- ErrorWebPart.cs
- HtmlHistory.cs
- UserNameSecurityToken.cs
- NextPreviousPagerField.cs
- ObjectConverter.cs
- TransactionProxy.cs
- glyphs.cs
- DataContractSerializerMessageContractImporter.cs