Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Shared / MS / Internal / commands / CommandLibraryHelper.cs / 1305600 / CommandLibraryHelper.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Set of helpers used by all Commands. // // History: // 02/28/2004 : marka - Created // //--------------------------------------------------------------------------- using System; using System.Security; using System.Security.Permissions; using System.Windows.Input; using MS.Internal.PresentationCore; // for FriendAccessAllowed namespace MS.Internal { [FriendAccessAllowed] internal static class CommandLibraryHelper { internal static RoutedUICommand CreateUICommand(string name, Type ownerType, byte commandId, PermissionSet ps) { RoutedUICommand routedUICommand; if (ps != null) { routedUICommand = new SecureUICommand(ps, name, ownerType, commandId); } else { routedUICommand = new RoutedUICommand(name, ownerType, commandId); } routedUICommand.AreInputGesturesDelayLoaded = true; return routedUICommand; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CompositeDispatchFormatter.cs
- CardSpaceSelector.cs
- UrlMappingCollection.cs
- TPLETWProvider.cs
- MessageSecurityVersion.cs
- StdValidatorsAndConverters.cs
- DateTimeUtil.cs
- AlignmentYValidation.cs
- EntityStoreSchemaGenerator.cs
- WindowsFormsSynchronizationContext.cs
- TemplatedAdorner.cs
- SchemaNamespaceManager.cs
- NamedPermissionSet.cs
- MexHttpBindingCollectionElement.cs
- DbProviderFactories.cs
- ISO2022Encoding.cs
- DeferredTextReference.cs
- WindowInteropHelper.cs
- InArgument.cs
- TrackBar.cs
- FieldNameLookup.cs
- PingOptions.cs
- ManipulationInertiaStartingEventArgs.cs
- TransformerInfoCollection.cs
- DesignUtil.cs
- XslTransform.cs
- PersonalizablePropertyEntry.cs
- KeyConverter.cs
- ShaperBuffers.cs
- mongolianshape.cs
- SplitterPanel.cs
- ProfileServiceManager.cs
- EdmEntityTypeAttribute.cs
- FormConverter.cs
- FormsAuthenticationEventArgs.cs
- Attachment.cs
- SerializationFieldInfo.cs
- WebPartEditorCancelVerb.cs
- XmlSchemaAttributeGroup.cs
- RequestCache.cs
- ParenthesizePropertyNameAttribute.cs
- WebResourceAttribute.cs
- TimeIntervalCollection.cs
- SmtpLoginAuthenticationModule.cs
- RegexTree.cs
- VoiceChangeEventArgs.cs
- InheritanceContextChangedEventManager.cs
- HScrollBar.cs
- AccessDataSourceView.cs
- KnownBoxes.cs
- Peer.cs
- MasterPageCodeDomTreeGenerator.cs
- SQLBinary.cs
- RegexCompilationInfo.cs
- ListViewContainer.cs
- ProcessHostConfigUtils.cs
- WorkflowRuntime.cs
- HttpListenerRequest.cs
- IndentedTextWriter.cs
- DataViewSetting.cs
- MultipartIdentifier.cs
- CroppedBitmap.cs
- BinaryConverter.cs
- StylusDevice.cs
- UriTemplateCompoundPathSegment.cs
- WebPartEventArgs.cs
- TreeView.cs
- SqlXml.cs
- InternalEnumValidator.cs
- AccessDataSourceDesigner.cs
- ObjectDataSourceStatusEventArgs.cs
- TryCatchDesigner.xaml.cs
- FlowLayoutPanelDesigner.cs
- StyleCollectionEditor.cs
- ISAPIApplicationHost.cs
- InstanceDataCollectionCollection.cs
- LayoutExceptionEventArgs.cs
- EntityCommand.cs
- Misc.cs
- DmlSqlGenerator.cs
- BindingUtils.cs
- QueryAccessibilityHelpEvent.cs
- XmlExpressionDumper.cs
- PropertyDescriptorComparer.cs
- FontDifferentiator.cs
- Image.cs
- BadImageFormatException.cs
- GlobalProxySelection.cs
- BaseDataListComponentEditor.cs
- WebErrorHandler.cs
- ReflectionTypeLoadException.cs
- FontStretch.cs
- SingleAnimationUsingKeyFrames.cs
- FixedSOMTextRun.cs
- DefaultCompensation.cs
- EmptyReadOnlyDictionaryInternal.cs
- GPPOINT.cs
- NumberFormatter.cs
- _CacheStreams.cs
- DataError.cs