4 instantiations of MarginCollapsingState
PresentationFramework (4)
MS\Internal\PtsHost\MarginCollapsingState.cs (4)
41
mcsNew = new
MarginCollapsingState
(ptsContext, mbp.MarginTop);
83
mcsNew = new
MarginCollapsingState
(ptsContext, mbp.MarginBottom);
100
mcsNew = new
MarginCollapsingState
(ptsContext, 0);
137
return new
MarginCollapsingState
(this);
104 references to MarginCollapsingState
PresentationFramework (104)
MS\Internal\PtsHost\BaseParagraph.cs (1)
107
MarginCollapsingState
mcs,
MS\Internal\PtsHost\CellParaClient.cs (6)
197
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
247
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
294
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
MS\Internal\PtsHost\ContainerParagraph.cs (18)
453
MarginCollapsingState
mcs, // IN: input margin collapsing state
485
MarginCollapsingState
mcsContainer = null;
514
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsContainer, out marginTop);
566
mcsContainer = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
577
MarginCollapsingState
mcsNew = null;
578
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcsContainer, out mcsNew, out marginBottom);
620
MarginCollapsingState
mcs, // IN: input margin collapsing state
638
MarginCollapsingState
mcsContainer;
641
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsContainer, out marginTop);
696
mcsContainer = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
701
MarginCollapsingState
mcsNew;
702
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcsContainer, out mcsNew, out marginBottom);
751
MarginCollapsingState
mcs, // IN: input margin collapsing state
768
MarginCollapsingState
mcsContainer;
771
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsContainer, out marginTop);
826
mcsContainer = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
831
MarginCollapsingState
mcsNew;
832
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcsContainer, out mcsNew, out marginBottom);
MS\Internal\PtsHost\FigureParagraph.cs (4)
202
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
242
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
MS\Internal\PtsHost\FloaterBaseParagraph.cs (3)
86
MarginCollapsingState
mcs, // IN: input margin collapsing state
183
MarginCollapsingState
mcs, // IN: input margin collapsing state
191
MarginCollapsingState
mcs, // IN: input margin collapsing state
MS\Internal\PtsHost\FloaterParagraph.cs (10)
97
MarginCollapsingState
mcs, // IN: input margin collapsing state
282
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
307
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
454
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
477
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
561
MarginCollapsingState
mcs, // IN: input margin collapsing state
MS\Internal\PtsHost\MarginCollapsingState.cs (8)
33
MarginCollapsingState
mcsCurrent, // current margin collapsing state (adjacent to the new one).
34
out
MarginCollapsingState
mcsNew, // margin collapsing state for element entering the scope
73
MarginCollapsingState
mcsCurrent, // current margin collapsing state (adjacent to the new one).
74
out
MarginCollapsingState
mcsNew, // margin collapsing state for element leaving the scope
124
private MarginCollapsingState(
MarginCollapsingState
mcs) : base(mcs.PtsContext)
135
internal
MarginCollapsingState
Clone()
147
internal bool IsEqual(
MarginCollapsingState
mcs)
162
internal void Collapse(
MarginCollapsingState
mcs)
MS\Internal\PtsHost\PtsHost.cs (26)
970
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
995
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclient) as
MarginCollapsingState
;
1026
MarginCollapsingState
mcs1 = PtsContext.HandleToObject(pmcsclient1) as
MarginCollapsingState
;
1028
MarginCollapsingState
mcs2 = PtsContext.HandleToObject(pmcsclient2) as
MarginCollapsingState
;
1063
MarginCollapsingState
mcs = null;
1066
mcs = PtsContext.HandleToObject(pmcsclient) as
MarginCollapsingState
;
2583
MarginCollapsingState
mcs = null;
2586
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
2619
MarginCollapsingState
mcs = null;
2622
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
2700
MarginCollapsingState
mcs = null;
2703
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
2757
MarginCollapsingState
mcs = null;
2760
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
2814
MarginCollapsingState
mcs = null;
2817
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
3015
MarginCollapsingState
mcs = null;
3018
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
3071
MarginCollapsingState
mcs = null;
3074
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
3129
MarginCollapsingState
mcs = null;
3132
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
MS\Internal\PtsHost\SubpageParagraph.cs (15)
106
MarginCollapsingState
mcs, // IN: input margin collapsing state
125
MarginCollapsingState
mcsSubpage, mcsBottom;
171
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsSubpage, out marginTop);
243
mcsSubpage = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
264
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcsSubpage, out mcsBottom, out marginBottom);
308
MarginCollapsingState
mcs, // IN: input margin collapsing state
324
MarginCollapsingState
mcsSubpage, mcsBottom;
355
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsSubpage, out marginTop);
407
mcsSubpage = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
411
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcsSubpage, out mcsBottom, out marginBottom);
470
MarginCollapsingState
mcs, // IN: input margin collapsing state
485
MarginCollapsingState
mcsSubpage, mcsBottom;
515
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsSubpage, out marginTop);
566
mcsSubpage = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
570
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcsSubpage, out mcsBottom, out marginBottom);
MS\Internal\PtsHost\TableParagraph.cs (7)
85
MarginCollapsingState
mcs, // IN: input margin collapsing state
95
MarginCollapsingState
mcsOut = null;
96
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsOut, out dvr);
174
MarginCollapsingState
mcs = null;
177
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
179
MarginCollapsingState
mcsNew = null;
181
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcs, out mcsNew, out margin);
MS\Internal\PtsHost\UIElementParagraph.cs (6)
103
MarginCollapsingState
mcs, // IN: input margin collapsing state
109
MarginCollapsingState
mcsNew;
111
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsNew, out margin);
360
MarginCollapsingState
mcs, // IN: input margin collapsing state
363
MarginCollapsingState
mcsNew;
366
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, null, out mcsNew, out margin);