Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Effects / OuterGlowBitmapEffect.cs / 1407647 / OuterGlowBitmapEffect.cs
//------------------------------------------------------------------------------ // Microsoft Avalon // Copyright (c) Microsoft Corporation, 2005 // // File: OuterGlowBitmapEffect.cs //----------------------------------------------------------------------------- using MS.Internal; using System; using System.IO; using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Diagnostics; using System.Reflection; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Media; using System.Windows.Markup; using System.Windows.Media.Animation; using System.Windows.Media.Composition; using MS.Internal.PresentationCore; using System.Security; namespace System.Windows.Media.Effects { ////// OuterGlowBitmapEffectPrimitive /// public sealed partial class OuterGlowBitmapEffect : BitmapEffect { ////// Constructor /// public OuterGlowBitmapEffect() { } ////// Creates the unmanaged effect handle /// ////// Critical - returns a security critical type SafeHandle. /// Safe - Always returns null. /// [SecuritySafeCritical] [Obsolete(MS.Internal.Media.VisualTreeUtils.BitmapEffectObsoleteMessage)] unsafe protected override SafeHandle CreateUnmanagedEffect() { return null; } ////// Update (propagetes) properties to the unmanaged effect /// ////// This method demands permission because effects should not be run /// in partial trust. /// /// SecurityCritical - because SetValue has a link demand /// SecutiryTreatAsSafe - because it demans UIWindow permission /// [SecurityCritical, SecurityTreatAsSafe] [Obsolete(MS.Internal.Media.VisualTreeUtils.BitmapEffectObsoleteMessage)] protected override void UpdateUnmanagedPropertyState(SafeHandle unmanagedEffect) { SecurityHelper.DemandUIWindowPermission(); } } } // 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
- XmlDigitalSignatureProcessor.cs
- _ChunkParse.cs
- ObjectKeyFrameCollection.cs
- FileUpload.cs
- MultiSelectRootGridEntry.cs
- SourceFileInfo.cs
- WorkflowServiceOperationListItem.cs
- AppDomainProtocolHandler.cs
- ProvidePropertyAttribute.cs
- XmlCharCheckingReader.cs
- ToolStripItem.cs
- RepeaterItemCollection.cs
- selecteditemcollection.cs
- SevenBitStream.cs
- FontInfo.cs
- RMPermissions.cs
- Rect3D.cs
- DynamicRenderer.cs
- GradientBrush.cs
- DynamicValueConverter.cs
- SiteMapDataSource.cs
- Math.cs
- odbcmetadatacolumnnames.cs
- TableAutomationPeer.cs
- ScaleTransform.cs
- InfiniteIntConverter.cs
- DefaultWorkflowLoaderService.cs
- TripleDES.cs
- WebPartZoneAutoFormat.cs
- PointF.cs
- SHA512CryptoServiceProvider.cs
- PlatformCulture.cs
- PeerCredential.cs
- EdmMember.cs
- SecureUICommand.cs
- CodeDirectionExpression.cs
- AnonymousIdentificationSection.cs
- SqlUserDefinedAggregateAttribute.cs
- MenuItemStyle.cs
- _UriSyntax.cs
- InkPresenter.cs
- CalendarDataBindingHandler.cs
- ContractMapping.cs
- StringWriter.cs
- HwndSubclass.cs
- Schema.cs
- CapabilitiesPattern.cs
- OracleCommandBuilder.cs
- CompositeControl.cs
- TheQuery.cs
- QueryContinueDragEventArgs.cs
- PhoneCallDesigner.cs
- MediaPlayerState.cs
- ServiceActivationException.cs
- DesignerTransaction.cs
- Span.cs
- FontStyle.cs
- PackageDigitalSignature.cs
- ListViewItemMouseHoverEvent.cs
- ReflectionHelper.cs
- RequiredFieldValidator.cs
- Rfc4050KeyFormatter.cs
- EmbeddedObject.cs
- ToolStripSettings.cs
- SineEase.cs
- propertytag.cs
- EventLogEntry.cs
- SqlServices.cs
- SerializationException.cs
- ResXResourceReader.cs
- SafeArrayTypeMismatchException.cs
- CapabilitiesUse.cs
- MessageDispatch.cs
- SystemTcpStatistics.cs
- DashStyle.cs
- SqlBooleanMismatchVisitor.cs
- JoinGraph.cs
- CounterCreationData.cs
- TraceSection.cs
- SharedStatics.cs
- MergeLocalizationDirectives.cs
- CompressEmulationStream.cs
- XmlSchemaProviderAttribute.cs
- CompositeActivityDesigner.cs
- ResourcesGenerator.cs
- ToolStripContentPanelRenderEventArgs.cs
- TemplateKey.cs
- EditorZone.cs
- WindowsListViewItemCheckBox.cs
- CounterCreationDataCollection.cs
- WindowsToolbarAsMenu.cs
- ThousandthOfEmRealPoints.cs
- safemediahandle.cs
- SymbolUsageManager.cs
- CqlLexer.cs
- BamlBinaryReader.cs
- MissingManifestResourceException.cs
- BasicHttpSecurity.cs
- LockRecursionException.cs
- ISAPIApplicationHost.cs