Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / controlskin.cs / 1 / controlskin.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.ComponentModel; using System.Reflection; using System.Security.Permissions; namespace System.Web.UI { [EditorBrowsable(EditorBrowsableState.Advanced)] public delegate System.Web.UI.Control ControlSkinDelegate(Control control); [EditorBrowsable(EditorBrowsableState.Advanced)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ControlSkin { private Type _controlType; private ControlSkinDelegate _controlSkinDelegate; public ControlSkin(Type controlType, ControlSkinDelegate themeDelegate) { _controlType = controlType; _controlSkinDelegate = themeDelegate; } public Type ControlType { get { return _controlType; } } public void ApplySkin(Control control) { _controlSkinDelegate(control); } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MachinePropertyVariants.cs
- TcpChannelListener.cs
- DesignerWebPartChrome.cs
- CapabilitiesState.cs
- DetectRunnableInstancesTask.cs
- DisposableCollectionWrapper.cs
- DateTimeStorage.cs
- LoginView.cs
- OleDbRowUpdatingEvent.cs
- ListViewItemCollectionEditor.cs
- BlockCollection.cs
- Page.cs
- Error.cs
- PermissionListSet.cs
- MenuBindingsEditor.cs
- bindurihelper.cs
- FixedSchema.cs
- RouteValueExpressionBuilder.cs
- TextBox.cs
- PropVariant.cs
- HandlerWithFactory.cs
- MemberRelationshipService.cs
- ToolStripButton.cs
- ServiceBusyException.cs
- WCFServiceClientProxyGenerator.cs
- ExpandSegment.cs
- AuthorizationSection.cs
- CompletionBookmark.cs
- WebZoneDesigner.cs
- WindowsClaimSet.cs
- BitmapMetadata.cs
- RecognitionEventArgs.cs
- IndexOutOfRangeException.cs
- WindowsTokenRoleProvider.cs
- XmlSchemaComplexContentRestriction.cs
- LZCodec.cs
- UInt32.cs
- UncommonField.cs
- DataGridColumnCollection.cs
- StructuredTypeEmitter.cs
- ConfigurationStrings.cs
- DataKey.cs
- AssociativeAggregationOperator.cs
- CardSpacePolicyElement.cs
- URI.cs
- ElementInit.cs
- DataGridViewCellEventArgs.cs
- SqlNode.cs
- localization.cs
- ItemContainerGenerator.cs
- GorillaCodec.cs
- UnicodeEncoding.cs
- CacheSection.cs
- DnsPermission.cs
- ContextStack.cs
- GorillaCodec.cs
- StreamInfo.cs
- SQLDateTime.cs
- ToolStripDropDown.cs
- DesignerUtility.cs
- Label.cs
- MemberAccessException.cs
- DetailsView.cs
- ItemList.cs
- SortExpressionBuilder.cs
- ISAPIWorkerRequest.cs
- AttributeUsageAttribute.cs
- BmpBitmapEncoder.cs
- BinarySerializer.cs
- ExpressionStringBuilder.cs
- ListBindableAttribute.cs
- ServiceNameElementCollection.cs
- OutgoingWebRequestContext.cs
- CqlErrorHelper.cs
- UserNameSecurityToken.cs
- Inline.cs
- FormViewInsertEventArgs.cs
- KeyedHashAlgorithm.cs
- Properties.cs
- CallSite.cs
- ToggleButtonAutomationPeer.cs
- QueryAccessibilityHelpEvent.cs
- DataServiceProcessingPipelineEventArgs.cs
- GeometryCombineModeValidation.cs
- Decoder.cs
- SqlDataSourceStatusEventArgs.cs
- HostProtectionPermission.cs
- InstanceData.cs
- ParagraphVisual.cs
- ConstraintStruct.cs
- MetafileHeaderWmf.cs
- DataBindingExpressionBuilder.cs
- DataPointer.cs
- PeerUnsafeNativeMethods.cs
- RootBrowserWindow.cs
- WindowsGrip.cs
- FontStretchConverter.cs
- MultipleViewProviderWrapper.cs
- Mouse.cs
- XmlReader.cs