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
- ReachUIElementCollectionSerializerAsync.cs
- ActiveDocumentEvent.cs
- NotificationContext.cs
- LassoSelectionBehavior.cs
- AdCreatedEventArgs.cs
- SiteMap.cs
- ExpressionQuoter.cs
- autovalidator.cs
- LockedAssemblyCache.cs
- SelectedGridItemChangedEvent.cs
- BuilderPropertyEntry.cs
- Pens.cs
- RouteUrlExpressionBuilder.cs
- XPathNodeList.cs
- StringConverter.cs
- DataBinding.cs
- XmlSchemaSearchPattern.cs
- DockPatternIdentifiers.cs
- UnSafeCharBuffer.cs
- Effect.cs
- ScrollChrome.cs
- ControlTemplate.cs
- Vector.cs
- ErrorActivity.cs
- ObfuscateAssemblyAttribute.cs
- MultipleViewProviderWrapper.cs
- PackWebRequestFactory.cs
- ReadOnlyAttribute.cs
- SpStreamWrapper.cs
- DataRowView.cs
- BaseConfigurationRecord.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- WebPartVerbCollection.cs
- DomNameTable.cs
- PackageFilter.cs
- AuthorizationBehavior.cs
- WebBrowserNavigatedEventHandler.cs
- BitmapEffect.cs
- ISFClipboardData.cs
- VersionedStream.cs
- FileDialogCustomPlace.cs
- PlainXmlWriter.cs
- MimeWriter.cs
- UiaCoreApi.cs
- FamilyCollection.cs
- TextInfo.cs
- CodeLabeledStatement.cs
- CreateUserWizardStep.cs
- XamlStream.cs
- CompressionTransform.cs
- ProxyWebPartConnectionCollection.cs
- UrlMappingCollection.cs
- DeviceContext.cs
- ChangeBlockUndoRecord.cs
- WebPartCancelEventArgs.cs
- SerializationStore.cs
- validationstate.cs
- ValidationManager.cs
- WebAdminConfigurationHelper.cs
- StyleSelector.cs
- OleDbPropertySetGuid.cs
- Block.cs
- BrowserCapabilitiesFactoryBase.cs
- ApplicationDirectory.cs
- Expression.cs
- DataGridTextBoxColumn.cs
- Main.cs
- StaticFileHandler.cs
- __TransparentProxy.cs
- FocusTracker.cs
- XmlSchemaIdentityConstraint.cs
- RegisteredHiddenField.cs
- ListItem.cs
- SqlDataReaderSmi.cs
- TextEditorTables.cs
- SoapReflectionImporter.cs
- SqlRowUpdatedEvent.cs
- DataServiceConfiguration.cs
- ObjectDataSource.cs
- FormViewUpdatedEventArgs.cs
- ReadOnlyAttribute.cs
- ClientApiGenerator.cs
- Location.cs
- FontSourceCollection.cs
- HMACSHA256.cs
- SessionParameter.cs
- CommonDialog.cs
- RawMouseInputReport.cs
- SoapAttributeAttribute.cs
- EventLogPermission.cs
- SwitchDesigner.xaml.cs
- TabPanel.cs
- regiisutil.cs
- EntityDataReader.cs
- Errors.cs
- KoreanLunisolarCalendar.cs
- TableLayoutPanel.cs
- KeyInterop.cs
- XPathParser.cs
- WebPartTracker.cs