4 instantiations of MarginCollapsingState
PresentationFramework (4)
src\Framework\MS\Internal\PtsHost\MarginCollapsingState.cs (4)
47
mcsNew = new
MarginCollapsingState
(ptsContext, mbp.MarginTop);
89
mcsNew = new
MarginCollapsingState
(ptsContext, mbp.MarginBottom);
106
mcsNew = new
MarginCollapsingState
(ptsContext, 0);
143
return new
MarginCollapsingState
(this);
104 references to MarginCollapsingState
PresentationFramework (104)
src\Framework\MS\Internal\PtsHost\BaseParagraph.cs (1)
113
MarginCollapsingState
mcs,
src\Framework\MS\Internal\PtsHost\CellParaClient.cs (6)
219
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
274
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
326
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
src\Framework\MS\Internal\PtsHost\ContainerParagraph.cs (18)
485
MarginCollapsingState
mcs, // IN: input margin collapsing state
517
MarginCollapsingState
mcsContainer = null;
546
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsContainer, out marginTop);
598
mcsContainer = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
609
MarginCollapsingState
mcsNew = null;
610
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcsContainer, out mcsNew, out marginBottom);
659
MarginCollapsingState
mcs, // IN: input margin collapsing state
677
MarginCollapsingState
mcsContainer;
680
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsContainer, out marginTop);
735
mcsContainer = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
740
MarginCollapsingState
mcsNew;
741
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcsContainer, out mcsNew, out marginBottom);
797
MarginCollapsingState
mcs, // IN: input margin collapsing state
814
MarginCollapsingState
mcsContainer;
817
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsContainer, out marginTop);
872
mcsContainer = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
877
MarginCollapsingState
mcsNew;
878
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcsContainer, out mcsNew, out marginBottom);
src\Framework\MS\Internal\PtsHost\FigureParagraph.cs (4)
223
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
263
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
src\Framework\MS\Internal\PtsHost\FloaterBaseParagraph.cs (3)
99
MarginCollapsingState
mcs, // IN: input margin collapsing state
200
MarginCollapsingState
mcs, // IN: input margin collapsing state
208
MarginCollapsingState
mcs, // IN: input margin collapsing state
src\Framework\MS\Internal\PtsHost\FloaterParagraph.cs (10)
112
MarginCollapsingState
mcs, // IN: input margin collapsing state
295
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
320
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
472
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
495
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
579
MarginCollapsingState
mcs, // IN: input margin collapsing state
src\Framework\MS\Internal\PtsHost\MarginCollapsingState.cs (8)
39
MarginCollapsingState
mcsCurrent, // current margin collapsing state (adjacent to the new one).
40
out
MarginCollapsingState
mcsNew, // margin collapsing state for element entering the scope
79
MarginCollapsingState
mcsCurrent, // current margin collapsing state (adjacent to the new one).
80
out
MarginCollapsingState
mcsNew, // margin collapsing state for element leaving the scope
130
private MarginCollapsingState(
MarginCollapsingState
mcs) : base(mcs.PtsContext)
141
internal
MarginCollapsingState
Clone()
153
internal bool IsEqual(
MarginCollapsingState
mcs)
168
internal void Collapse(
MarginCollapsingState
mcs)
src\Framework\MS\Internal\PtsHost\PtsHost.cs (26)
1033
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
1058
MarginCollapsingState
mcs = PtsContext.HandleToObject(pmcsclient) as
MarginCollapsingState
;
1089
MarginCollapsingState
mcs1 = PtsContext.HandleToObject(pmcsclient1) as
MarginCollapsingState
;
1091
MarginCollapsingState
mcs2 = PtsContext.HandleToObject(pmcsclient2) as
MarginCollapsingState
;
1126
MarginCollapsingState
mcs = null;
1129
mcs = PtsContext.HandleToObject(pmcsclient) as
MarginCollapsingState
;
2740
MarginCollapsingState
mcs = null;
2743
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
2776
MarginCollapsingState
mcs = null;
2779
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
2861
MarginCollapsingState
mcs = null;
2864
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
2922
MarginCollapsingState
mcs = null;
2925
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
2984
MarginCollapsingState
mcs = null;
2987
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
3230
MarginCollapsingState
mcs = null;
3233
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
3286
MarginCollapsingState
mcs = null;
3289
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
3349
MarginCollapsingState
mcs = null;
3352
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
src\Framework\MS\Internal\PtsHost\SubpageParagraph.cs (15)
134
MarginCollapsingState
mcs, // IN: input margin collapsing state
153
MarginCollapsingState
mcsSubpage, mcsBottom;
199
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsSubpage, out marginTop);
271
mcsSubpage = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
292
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcsSubpage, out mcsBottom, out marginBottom);
348
MarginCollapsingState
mcs, // IN: input margin collapsing state
364
MarginCollapsingState
mcsSubpage, mcsBottom;
395
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsSubpage, out marginTop);
447
mcsSubpage = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
451
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcsSubpage, out mcsBottom, out marginBottom);
519
MarginCollapsingState
mcs, // IN: input margin collapsing state
534
MarginCollapsingState
mcsSubpage, mcsBottom;
564
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsSubpage, out marginTop);
615
mcsSubpage = PtsContext.HandleToObject(pmcsclientOut) as
MarginCollapsingState
;
619
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcsSubpage, out mcsBottom, out marginBottom);
src\Framework\MS\Internal\PtsHost\TableParagraph.cs (7)
101
MarginCollapsingState
mcs, // IN: input margin collapsing state
111
MarginCollapsingState
mcsOut = null;
112
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsOut, out dvr);
191
MarginCollapsingState
mcs = null;
194
mcs = PtsContext.HandleToObject(pmcsclientIn) as
MarginCollapsingState
;
196
MarginCollapsingState
mcsNew = null;
198
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, mcs, out mcsNew, out margin);
src\Framework\MS\Internal\PtsHost\UIElementParagraph.cs (6)
114
MarginCollapsingState
mcs, // IN: input margin collapsing state
120
MarginCollapsingState
mcsNew;
122
MarginCollapsingState
.CollapseTopMargin(PtsContext, mbp, mcs, out mcsNew, out margin);
355
MarginCollapsingState
mcs, // IN: input margin collapsing state
358
MarginCollapsingState
mcsNew;
361
MarginCollapsingState
.CollapseBottomMargin(PtsContext, mbp, null, out mcsNew, out margin);