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
- UndoManager.cs
- NonSerializedAttribute.cs
- WebPartPersonalization.cs
- RadialGradientBrush.cs
- ContractMethodParameterInfo.cs
- WindowsFormsHost.cs
- FacetValueContainer.cs
- EDesignUtil.cs
- WindowsGraphics.cs
- LocationReference.cs
- RepeatBehaviorConverter.cs
- TitleStyle.cs
- HtmlHistory.cs
- HttpResponseInternalWrapper.cs
- HttpServerUtilityWrapper.cs
- SmiContextFactory.cs
- QuestionEventArgs.cs
- Single.cs
- ConstructorBuilder.cs
- BamlCollectionHolder.cs
- _AutoWebProxyScriptHelper.cs
- LinkedResourceCollection.cs
- XmlDownloadManager.cs
- ProjectionPruner.cs
- SQLBytesStorage.cs
- DataViewManagerListItemTypeDescriptor.cs
- TimerExtension.cs
- Fx.cs
- DocumentPaginator.cs
- Int32RectConverter.cs
- ViewStateException.cs
- ArrayConverter.cs
- MultiDataTrigger.cs
- Attributes.cs
- TransformPatternIdentifiers.cs
- LinqDataSourceSelectEventArgs.cs
- UntypedNullExpression.cs
- SyndicationDeserializer.cs
- SocketInformation.cs
- SafeNativeMethods.cs
- LineGeometry.cs
- AtomMaterializer.cs
- QueryContinueDragEvent.cs
- MethodRental.cs
- PropertyRef.cs
- filewebrequest.cs
- ResourceManager.cs
- EncoderExceptionFallback.cs
- WsiProfilesElementCollection.cs
- GridEntry.cs
- RemoteWebConfigurationHost.cs
- TcpAppDomainProtocolHandler.cs
- DataGridItemCollection.cs
- ToolBarTray.cs
- LazyTextWriterCreator.cs
- ConstNode.cs
- WebResourceUtil.cs
- CmsInterop.cs
- KeyConstraint.cs
- SettingsAttributeDictionary.cs
- FileDialog.cs
- InputScope.cs
- basemetadatamappingvisitor.cs
- OleDbDataReader.cs
- WebPartDisplayModeCollection.cs
- ScrollItemProviderWrapper.cs
- ConnectionsZoneDesigner.cs
- CookieParameter.cs
- SqlStream.cs
- ACE.cs
- ValidationPropertyAttribute.cs
- ToRequest.cs
- StateMachineAction.cs
- WebBrowserUriTypeConverter.cs
- HttpListenerResponse.cs
- MsmqBindingMonitor.cs
- FormViewModeEventArgs.cs
- AdornerHitTestResult.cs
- ToolBarTray.cs
- TextEffectResolver.cs
- safex509handles.cs
- SystemUnicastIPAddressInformation.cs
- FileChangesMonitor.cs
- SaveFileDialog.cs
- Renderer.cs
- XmlReturnReader.cs
- CompiledRegexRunner.cs
- ShellProvider.cs
- CellConstantDomain.cs
- LabelLiteral.cs
- ObjectConverter.cs
- CellQuery.cs
- StringArrayEditor.cs
- FlowLayoutSettings.cs
- AnonymousIdentificationModule.cs
- FixedSOMTable.cs
- ModifierKeysConverter.cs
- FullTextState.cs
- linebase.cs
- HandlerMappingMemo.cs