Cursor.Interval Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the cursor interval.
public:
property double Interval { double get(); void set(double value); };
[System.ComponentModel.Bindable(true)]
public double Interval { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Interval : double with get, set
Public Property Interval As Double
Property Value
The cursor interval.
- Attributes
Remarks
The Interval property determines how often and where a cursor can be drawn by an end user, as well as where the beginning and end points of a range selection can be drawn. A value of zero, which is the default value, signifies that a cursor or range selection can be drawn anywhere within a chart area. A nonzero value signifies that the cursor or beginning and/or end points of a selected range will only be drawn at the specified interval when set by user interaction.
The unit of measurement is determined by the IntervalType property.
This property can also be used in conjunction with the IntervalOffset property, which allows you to specify an offset from the specified interval. For example, to allow a cursor to only be displayed every Saturday, an interval of 1 week should be specified, along with an interval offset of 6 days. In .NET Framework, Sunday is considered to be the first day of the week.
If the cursor user interface is enabled by setting the IsUserEnabled property, and the mouse is clicked inside a chart area, the position of the cursor will be set to the nearest allowable location.
Important
The Interval property has no effect if you set the position of a cursor or range selection programmatically.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기