Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / 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. //---------------------------------------------------------------------------- // 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
- StringUtil.cs
- Stroke2.cs
- EntityDataSourceContextCreatedEventArgs.cs
- BaseParaClient.cs
- RecognizeCompletedEventArgs.cs
- LinkArea.cs
- RegexRunner.cs
- DataControlField.cs
- Base64Decoder.cs
- OleAutBinder.cs
- ellipse.cs
- Scalars.cs
- XPathNavigatorKeyComparer.cs
- XhtmlBasicPanelAdapter.cs
- EditorZone.cs
- AnnotationResource.cs
- CursorInteropHelper.cs
- IIS7WorkerRequest.cs
- HandledMouseEvent.cs
- PeerNearMe.cs
- LayoutTable.cs
- QilStrConcatenator.cs
- InputLanguageManager.cs
- AppDomainUnloadedException.cs
- WpfKnownMember.cs
- PropertyFilter.cs
- PropertyFilterAttribute.cs
- HeaderPanel.cs
- ListViewCancelEventArgs.cs
- X509ClientCertificateCredentialsElement.cs
- ExceptionUtil.cs
- GeometryCombineModeValidation.cs
- SQLDecimal.cs
- MarkupObject.cs
- PopupRoot.cs
- Int16AnimationBase.cs
- Codec.cs
- EventMap.cs
- TextWriterEngine.cs
- DataTablePropertyDescriptor.cs
- OdbcConnectionFactory.cs
- OdbcCommandBuilder.cs
- SwitchCase.cs
- TextRange.cs
- FileNotFoundException.cs
- GeneralTransformGroup.cs
- XPathQilFactory.cs
- ParseChildrenAsPropertiesAttribute.cs
- OdbcConnectionFactory.cs
- Variant.cs
- RootProfilePropertySettingsCollection.cs
- Emitter.cs
- DetailsViewDeletedEventArgs.cs
- SizeKeyFrameCollection.cs
- FocusWithinProperty.cs
- RuntimeConfigurationRecord.cs
- RotateTransform3D.cs
- ExpressionBindingCollection.cs
- ImpersonationContext.cs
- StrokeNodeData.cs
- WebColorConverter.cs
- InfoCardRequestException.cs
- IMembershipProvider.cs
- dbdatarecord.cs
- XmlWrappingWriter.cs
- InsufficientMemoryException.cs
- WindowsFont.cs
- CTreeGenerator.cs
- ToolboxDataAttribute.cs
- ResourceAssociationTypeEnd.cs
- ServiceAuthorizationElement.cs
- PageThemeCodeDomTreeGenerator.cs
- SerializationObjectManager.cs
- AsyncOperation.cs
- CryptoApi.cs
- ProjectionCamera.cs
- CriticalHandle.cs
- _ScatterGatherBuffers.cs
- LassoSelectionBehavior.cs
- ConsumerConnectionPointCollection.cs
- ProgramNode.cs
- ToolStripItemTextRenderEventArgs.cs
- ContractMethodParameterInfo.cs
- MenuItemStyle.cs
- PriorityBinding.cs
- FlowDocumentReader.cs
- BoolLiteral.cs
- CollectionMarkupSerializer.cs
- HtmlAnchor.cs
- VisualBrush.cs
- FileDataSourceCache.cs
- SoapFault.cs
- SolidColorBrush.cs
- HtmlLiteralTextAdapter.cs
- WebBrowserNavigatedEventHandler.cs
- LicFileLicenseProvider.cs
- ZipIOExtraField.cs
- PageOutputColor.cs
- SerializableAttribute.cs
- ExtentJoinTreeNode.cs