Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Documents / Italic.cs / 1305600 / Italic.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // // Description: Italic element. // Xaml markup helper for indicating italicized content. // Equivalent to a Span with FontStyle property set to FontStyles.Italic. // Can contain other inline elements. // //--------------------------------------------------------------------------- namespace System.Windows.Documents { ////// Italic element - markup helper for indicating italicized content. /// Equivalent to a Span with FontStyle property set to FontStyles.Italic. /// Can contain other inline elements. /// public class Italic : Span { //------------------------------------------------------------------- // // Connstructors // //------------------------------------------------------------------- #region Constructors ////// Static ctor. Initializes property metadata. /// static Italic() { DefaultStyleKeyProperty.OverrideMetadata(typeof(Italic), new FrameworkPropertyMetadata(typeof(Italic))); } ////// Initilizes a new instance of a Italic 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 Italic element may appear without Run child, /// but please note that such Run was implicitly inserted by parser. /// public Italic() : base() { } ////// Initializes a new instance of Italic element and adds a given Inline element as its first child. /// /// /// Inline element added as an initial child to this Italic element /// public Italic(Inline childInline) : base(childInline) { } ////// Creates a new Italic instance. /// /// /// Optional child Inline for the new Italic. May be null. /// /// /// Optional position at which to insert the new Italic. May be null. /// public Italic(Inline childInline, TextPointer insertionPosition) : base(childInline, insertionPosition) { } ////// Creates a new Italic instance covering existing content. /// /// /// Start position of the new Italic. /// /// /// End position of the new Italic. /// ////// start and end must both be parented by the same Paragraph, otherwise /// the method will raise an ArgumentException. /// public Italic(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: Italic element. // Xaml markup helper for indicating italicized content. // Equivalent to a Span with FontStyle property set to FontStyles.Italic. // Can contain other inline elements. // //--------------------------------------------------------------------------- namespace System.Windows.Documents { ////// Italic element - markup helper for indicating italicized content. /// Equivalent to a Span with FontStyle property set to FontStyles.Italic. /// Can contain other inline elements. /// public class Italic : Span { //------------------------------------------------------------------- // // Connstructors // //------------------------------------------------------------------- #region Constructors ////// Static ctor. Initializes property metadata. /// static Italic() { DefaultStyleKeyProperty.OverrideMetadata(typeof(Italic), new FrameworkPropertyMetadata(typeof(Italic))); } ////// Initilizes a new instance of a Italic 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 Italic element may appear without Run child, /// but please note that such Run was implicitly inserted by parser. /// public Italic() : base() { } ////// Initializes a new instance of Italic element and adds a given Inline element as its first child. /// /// /// Inline element added as an initial child to this Italic element /// public Italic(Inline childInline) : base(childInline) { } ////// Creates a new Italic instance. /// /// /// Optional child Inline for the new Italic. May be null. /// /// /// Optional position at which to insert the new Italic. May be null. /// public Italic(Inline childInline, TextPointer insertionPosition) : base(childInline, insertionPosition) { } ////// Creates a new Italic instance covering existing content. /// /// /// Start position of the new Italic. /// /// /// End position of the new Italic. /// ////// start and end must both be parented by the same Paragraph, otherwise /// the method will raise an ArgumentException. /// public Italic(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
- TouchPoint.cs
- ResourceProviderFactory.cs
- XslTransform.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- X509Chain.cs
- SelectionPatternIdentifiers.cs
- VirtualizingStackPanel.cs
- HMACMD5.cs
- Utils.cs
- XPathBinder.cs
- SecurityManager.cs
- PerfCounterSection.cs
- ReadOnlyDictionary.cs
- SourceFileInfo.cs
- CalendarDesigner.cs
- SEHException.cs
- securitymgrsite.cs
- ArgumentException.cs
- WebControlAdapter.cs
- DataContractSet.cs
- GridViewColumnHeader.cs
- StylusEventArgs.cs
- DataGridViewDataConnection.cs
- LassoHelper.cs
- MenuStrip.cs
- ServiceDescriptionImporter.cs
- WorkflowRuntimeServicesBehavior.cs
- WebBrowser.cs
- MethodBuilder.cs
- SqlProviderServices.cs
- SplineKeyFrames.cs
- SubMenuStyleCollectionEditor.cs
- BinaryNode.cs
- AssociationEndMember.cs
- LinqDataSource.cs
- RuntimeConfig.cs
- MissingManifestResourceException.cs
- EventProviderWriter.cs
- DataStreamFromComStream.cs
- TextShapeableCharacters.cs
- UnhandledExceptionEventArgs.cs
- Base64Stream.cs
- WinFormsSpinner.cs
- SyntaxCheck.cs
- RawStylusActions.cs
- EventLogPermission.cs
- SchemaNotation.cs
- InputReferenceExpression.cs
- _FtpDataStream.cs
- UnknownWrapper.cs
- WebPartEditorCancelVerb.cs
- DesignerTransaction.cs
- TrackingMemoryStream.cs
- MsmqBindingBase.cs
- SqlWebEventProvider.cs
- ObjectFullSpanRewriter.cs
- DashStyle.cs
- SqlCacheDependencySection.cs
- DataGridColumn.cs
- ToolStripSystemRenderer.cs
- ResolvedKeyFrameEntry.cs
- OptimalTextSource.cs
- AutoResetEvent.cs
- WindowsStartMenu.cs
- StringDictionaryWithComparer.cs
- RichTextBoxConstants.cs
- SoapIncludeAttribute.cs
- IdentifierCollection.cs
- CloseCryptoHandleRequest.cs
- XamlReader.cs
- WizardStepBase.cs
- ValidationPropertyAttribute.cs
- MailAddress.cs
- AlternateView.cs
- ThreadAbortException.cs
- OLEDB_Util.cs
- Point3DCollection.cs
- TypeLibConverter.cs
- DataControlPagerLinkButton.cs
- RouteParser.cs
- ExpressionPrefixAttribute.cs
- Context.cs
- PageRequestManager.cs
- DummyDataSource.cs
- __Filters.cs
- SchemaNotation.cs
- DockProviderWrapper.cs
- LifetimeServices.cs
- CustomSignedXml.cs
- BinHexEncoding.cs
- dtdvalidator.cs
- TextEditorTyping.cs
- FlowDocumentPage.cs
- DataGridClipboardCellContent.cs
- SingleAnimation.cs
- DateTimeOffsetStorage.cs
- RequestCachePolicy.cs
- WebSysDescriptionAttribute.cs
- Graph.cs
- MetadataPropertyAttribute.cs