AdornerPlacementCollection.PositionRelativeToAdornerWidth 方法 (Double, Double)
加入能夠在相對於裝飾項寬度放置裝飾項面板的定位 (Placement) 詞彙。
命名空間: Microsoft.Windows.Design.Interaction
組件: Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)
語法
'宣告
Public Sub PositionRelativeToAdornerWidth ( _
factor As Double, _
offset As Double _
)
public void PositionRelativeToAdornerWidth(
double factor,
double offset
)
public:
void PositionRelativeToAdornerWidth(
double factor,
double offset
)
member PositionRelativeToAdornerWidth :
factor:float *
offset:float -> unit
public function PositionRelativeToAdornerWidth(
factor : double,
offset : double
)
參數
- factor
型別:System.Double
乘上裝飾項寬度的係數。
- offset
型別:System.Double
加入至結果中的位移。
備註
factor 和 offset 的值如果低於零,AdornerPanel 的位置會移至設計介面的左側。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
PositionRelativeToAdornerWidth 多載
Microsoft.Windows.Design.Interaction 命名空間
PrimarySelectionAdornerProvider