Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Framework / System / Windows / Automation / Peers / SliderAutomationPeer.cs / 1 / SliderAutomationPeer.cs
using System;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Automation.Provider;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using MS.Internal;
using MS.Win32;
namespace System.Windows.Automation.Peers
{
///
public class SliderAutomationPeer : RangeBaseAutomationPeer
{
///
public SliderAutomationPeer(Slider owner): base(owner)
{
}
///
override protected string GetClassNameCore()
{
return "Slider";
}
///
override protected AutomationControlType GetAutomationControlTypeCore()
{
return AutomationControlType.Slider;
}
///
protected override Point GetClickablePointCore()
{
return new Point(double.NaN, double.NaN);
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Automation.Provider;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using MS.Internal;
using MS.Win32;
namespace System.Windows.Automation.Peers
{
///
public class SliderAutomationPeer : RangeBaseAutomationPeer
{
///
public SliderAutomationPeer(Slider owner): base(owner)
{
}
///
override protected string GetClassNameCore()
{
return "Slider";
}
///
override protected AutomationControlType GetAutomationControlTypeCore()
{
return AutomationControlType.Slider;
}
///
protected override Point GetClickablePointCore()
{
return new Point(double.NaN, double.NaN);
}
}
}
// 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
- GridViewPageEventArgs.cs
- HandlerBase.cs
- RepeatBehaviorConverter.cs
- Compiler.cs
- DragStartedEventArgs.cs
- DbExpressionVisitor_TResultType.cs
- SeekableReadStream.cs
- StorageBasedPackageProperties.cs
- NullableDoubleAverageAggregationOperator.cs
- XmlSchemaExternal.cs
- SrgsDocument.cs
- TargetControlTypeAttribute.cs
- InstanceContextManager.cs
- _DomainName.cs
- SmiMetaDataProperty.cs
- LoginName.cs
- DecimalConstantAttribute.cs
- _UriSyntax.cs
- VScrollProperties.cs
- LOSFormatter.cs
- ByteFacetDescriptionElement.cs
- DynamicScriptObject.cs
- EdmType.cs
- AuthorizationRuleCollection.cs
- ModelVisual3D.cs
- HandlerBase.cs
- MarkupWriter.cs
- AssemblyAttributes.cs
- CloseSequenceResponse.cs
- StandardCommandToolStripMenuItem.cs
- SqlBuilder.cs
- MaterializeFromAtom.cs
- SafeNativeMethods.cs
- DecoderExceptionFallback.cs
- FileStream.cs
- PolygonHotSpot.cs
- BamlLocalizationDictionary.cs
- SessionEndedEventArgs.cs
- ThreadPool.cs
- EventMap.cs
- HttpProfileGroupBase.cs
- UserThread.cs
- GridViewEditEventArgs.cs
- AssemblyNameUtility.cs
- ServiceDescriptionSerializer.cs
- ImageListImageEditor.cs
- Pen.cs
- DefaultEvaluationContext.cs
- SqlCacheDependency.cs
- CalendarSelectionChangedEventArgs.cs
- FunctionNode.cs
- UriTemplateClientFormatter.cs
- DocumentSequenceHighlightLayer.cs
- SecUtil.cs
- KeyConstraint.cs
- SqlProvider.cs
- XmlSchemaValidationException.cs
- SourceSwitch.cs
- ProfileService.cs
- ShaperBuffers.cs
- SingleConverter.cs
- ErrorTableItemStyle.cs
- SimpleType.cs
- ContainerVisual.cs
- DbInsertCommandTree.cs
- ResourcesGenerator.cs
- CompiledIdentityConstraint.cs
- SeekableReadStream.cs
- ChtmlPhoneCallAdapter.cs
- SqlMethodAttribute.cs
- Baml2006SchemaContext.cs
- ProcessHostServerConfig.cs
- HWStack.cs
- GuidelineCollection.cs
- EncryptedPackageFilter.cs
- SmtpFailedRecipientException.cs
- FormsIdentity.cs
- WebServiceParameterData.cs
- ActivityScheduledQuery.cs
- WebPartEditorApplyVerb.cs
- TrackingValidationObjectDictionary.cs
- Table.cs
- CodeTypeReferenceExpression.cs
- WebDisplayNameAttribute.cs
- SafeProcessHandle.cs
- ValidationEventArgs.cs
- smtpconnection.cs
- Utils.cs
- WCFModelStrings.Designer.cs
- StateDesigner.CommentLayoutGlyph.cs
- BaseAddressPrefixFilterElementCollection.cs
- ToolStripComboBox.cs
- ObjectSet.cs
- ColumnWidthChangingEvent.cs
- BooleanConverter.cs
- FormViewPageEventArgs.cs
- ProjectionCamera.cs
- AliasedSlot.cs
- X509SecurityToken.cs
- ImmutableObjectAttribute.cs